当前位置:网站首页>微信小程序刷新当前页面
微信小程序刷新当前页面
2022-06-27 05:09:00 【夏天想】
//刷新当前页面.
reloadThisPage() {
let currentPages = getCurrentPages()
let lastRoute = currentPages[currentPages.length - 1].route
let options = currentPages[currentPages.length - 1].options
let optionsStr = "?"
for (let key in options) {
optionsStr += '&' + key + '=' + options[key]
}
wx.redirectTo({
url: '/' + lastRoute + optionsStr,
})
},边栏推荐
猜你喜欢

Microservice system design -- distributed transaction service design

重映像(STM32)

跟着BUU学习Crypto(周更)

Ad22 Gerber files Click to open the Gerber step interface. Official solutions to problems

es6 0622三

Microservice system design -- unified authentication service design

微服务系统设计——服务熔断和降级设计

How pychart installs packages

Some articles about component packaging and my experience
![[nips 2017] pointnet++: deep feature learning of point set in metric space](/img/3e/0a47eecc27f236d629c611e683b37a.png)
[nips 2017] pointnet++: deep feature learning of point set in metric space
随机推荐
016 C language foundation: C language enumeration type
es6 0622三
关于元器件封装的一些文章和一下我的体会
【B站UP DR_CAN学习笔记】Kalman滤波1
Microservice system design -- microservice monitoring and system resource monitoring design
012 C language foundation: C array
STM32 reads IO high and low level status
STM32 MCU pin_ How to configure the pin of single chip microcomputer as pull-up input
[nips 2017] pointnet++: deep feature learning of point set in metric space
认知篇----2022高考志愿该如何填报
[station B up dr_can learning notes] Kalman filter 1
Penetration test - file upload / download / include
微服务系统设计——服务熔断和降级设计
In a sense, the Internet has become an incubator and a parent
014 C language foundation: C string
微服务系统设计——分布式事务服务设计
[C language] keyword supplement
深潜Kotlin协程(十五):测试 Kotlin 协程
微服务系统设计——微服务调用设计
微服务系统设计——服务注册与发现和配置设计