onPullDownRefresh function thissetData institution username password openid role ; wxstopPullDownRefresh; 数据未输完就开始刷新更改代码
onPullDownRefresh: function () { if (this.data.institution || this.data.username || this.data.password || this.data.openid || this.data.role) { // If any data is entered, clear the data this.setData({ institution: '', username: '', password: '', openid: '', role: '' }); } wx.stopPullDownRefresh(); }
原文地址: https://www.cveoy.top/t/topic/hYPt 著作权归作者所有。请勿转载和采集!