赞
踩
//刷新当前页面. 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, }) },
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。