<view bindtap="{{userInfo?'handleUpdateInfo':'toLogin'}}" class="person-name {{userInfo?'':'primary'}}"> {{userInfo?userInfo.name:'去登录/注册'}}</view> handleUpdateInfo() { // wx._isLogin(this, { // url: "", // urlName: "修改", // }) if (!this.data.userInfo) { wx._confirm(this, { id: 'con', content: '登录后可进行修改', title: "登录", cancelText: "暂不登录", submitText: "去登录", }, done => { wx.navigateTo({ url: '/pages/login/login', }) done() }) } }, toLogin() { wx.navigateTo({ url: '/pages/login/login' }) },
微信小程序点击页面跳转白屏,之后直接卡退了,什么情况?[图片]
2022-12-15