diff --git a/pages/login/login.vue b/pages/login/login.vue index 4099b5d..941782e 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -65,7 +65,6 @@ SOCKETURL: '', radio: 1, maskshow: false, - // scenenurseStationId: undefined, }; }, onShow() { @@ -73,7 +72,6 @@ this.getAddress() } this.phonecode = undefined - // this.scenenurseStationId = uni.getStorageSync('scenenurseStationId'); }, methods: { nologin() { @@ -160,7 +158,7 @@ duration: '1500', }) if (that.timer) { - learTimeout(that.timer) + clearTimeout(that.timer) } that.timer = setTimeout(() => { 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.分享给朋友 onShareAppMessage(res) { let pages = getCurrentPages();