wx.showToast执行之(zhi)后返回上一个页面(mian) wx.showToast({ 
title: '提交成功',微信 
icon: 'success', 
duration: 2000, success() { setTimeout(() => { wx.navigateBack({ complete: (res) => { console.log(res) }, }) }, 2000) } }) 小程序数组倒序 var numberArray = [1,2,3] numberArray .reverse(); 注意:使用reverse必须要保证(zheng)是数组(zu)调用而且不能为(wei)null、undefined 否则报错 小程序常文章来源:田珊珊个人博客 小程序常来源地址:http://www.tianshan277.com/825.html 小程序常
|