This commit is contained in:
2024-01-24 09:18:13 +08:00
parent 28e6df56ab
commit b5200d750c

View File

@ -65,7 +65,6 @@
SOCKETURL: '', SOCKETURL: '',
radio: 1, radio: 1,
maskshow: false, maskshow: false,
// scenenurseStationId: undefined,
}; };
}, },
onShow() { onShow() {
@ -73,7 +72,6 @@
this.getAddress() this.getAddress()
} }
this.phonecode = undefined this.phonecode = undefined
// this.scenenurseStationId = uni.getStorageSync('scenenurseStationId');
}, },
methods: { methods: {
nologin() { nologin() {
@ -160,7 +158,7 @@
duration: '1500', duration: '1500',
}) })
if (that.timer) { if (that.timer) {
learTimeout(that.timer) clearTimeout(that.timer)
} }
that.timer = setTimeout(() => { that.timer = setTimeout(() => {
uni.redirectTo({ uni.redirectTo({
@ -203,18 +201,6 @@
} }
}); });
}, },
pwdlogin() {
var that = this
uni.clearStorageSync();
that.login()
// createMobileToken().then(res => {
// uni.setStorageSync("token", res.data.token)
// if (this.scenenurseStationId) {
// uni.setStorageSync("scenenurseStationId", this.scenenurseStationId)
// }
// that.login()
// })
},
}, //1. }, //1.
onShareAppMessage(res) { onShareAppMessage(res) {
let pages = getCurrentPages(); let pages = getCurrentPages();