diff --git a/src/pages/deviceAuth/deviceAuth.vue b/src/pages/deviceAuth/deviceAuth.vue index 7edaa72..a387c45 100644 --- a/src/pages/deviceAuth/deviceAuth.vue +++ b/src/pages/deviceAuth/deviceAuth.vue @@ -200,6 +200,7 @@ let refreshBindStatus = async ()=>{ // 账号登录 const form2 = ref(null); const formData2 = ref({ + uniqCode:'', username: '', password: '' }); diff --git a/src/pages/h5-webview/h5-webview.vue b/src/pages/h5-webview/h5-webview.vue index 8557c37..b7fa2d9 100644 --- a/src/pages/h5-webview/h5-webview.vue +++ b/src/pages/h5-webview/h5-webview.vue @@ -1,71 +1,71 @@ diff --git a/src/pages/login/login.vue b/src/pages/login/login.vue index 3d2478e..a8c85e8 100644 --- a/src/pages/login/login.vue +++ b/src/pages/login/login.vue @@ -254,10 +254,10 @@ const submitForm = () => { param.clientId = clientId; let password = encryptObj.Encrypt(param.username + clientId + "," + param.password); param.password = password; - param.runEnv = networkEnv; + param.runEnv = networkEnv.value; // #ifdef H5 - param.uniqCode = '7f47cfb4-59e2-4cb9-ac46-9da5e23c4de2';//uni.getStorageSync('app_device_id');//先从缓存取之后处理 + param.uniqCode = 'e5687e80-526f-4522-ba7d-41d5db197a15';//h5测试用 let res = await login(param); userStore.login(res); uni.switchTab({ url: '/pages/home/home' })