From ea7457be6870e35cd385e163ca9bba26d7621d66 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期四, 27 二月 2025 17:08:06 +0800 Subject: [PATCH] feat:无人值守h5增加门卫端 --- pages/login/userPassword.vue | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/pages/login/userPassword.vue b/pages/login/userPassword.vue index fe7f89a..31d12eb 100644 --- a/pages/login/userPassword.vue +++ b/pages/login/userPassword.vue @@ -95,7 +95,7 @@ password: uni.getStorageSync('remberPassWord').password || '', baseUrl: '', weXinisLoginFlag:[1,2,3], //寰俊 - H5IsLoginFlag:[5,6], //h5 + H5IsLoginFlag:[5,6,7], //h5 submitLoading: false }; }, @@ -204,10 +204,7 @@ if (res.code) { uni.setStorageSync('bindcode', res.code); } - } - }); - this.submitLoading = false - if (uni.getStorageSync('bindcode')) { + if (uni.getStorageSync('bindcode')) { this.$reqPost('wxBind', { state: 'MINI', code: uni.getStorageSync('bindcode') }, 'params').then(res => { uni.hideLoading(); @@ -223,6 +220,10 @@ this.submitLoading = false; }); } + } + }); + this.submitLoading = false + } }).catch(e => { this.submitLoading = false -- Gitblit v1.9.1