android4.4.4 pda uni.showLoading uni.showToast等无效
uni.showLoading({
mask:true,
title: "登录中"
})
this.login(this.loginParam).then(res => {
uni.reLaunch({
url: "/pages/index/index",
})
}).catch(err => {
// this.errMsg = err;
// this.$refs['toast'].show()
uni.showToast({
title: '用户名或密码错误',
duration: 2000,
icon: 'none'
})
this.removeLocalAll();
}).finally(() => {
uni.hideLoading()
})
1 个回复
1***@qq.com
解决了吗