From 8eb206d1b9f24d495853ee8ff0878471b690f06a Mon Sep 17 00:00:00 2001 From: dongmu <11690004+dongjmu12@user.noreply.gitee.com> Date: Fri, 1 Dec 2023 15:36:01 +0800 Subject: [PATCH] 12.1 --- .hbuilderx/launch.json | 20 +++++++++++++------- src/pages/login/login.vue | 2 -- src/pages/my/my.vue | 18 ++++++++++-------- src/services/home.ts | 2 +- src/utils/http.ts | 21 ++++++++++++--------- 5 files changed, 36 insertions(+), 27 deletions(-) diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 7f81dcb..e30a802 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -4,13 +4,19 @@ "version" : "0.0", "configurations" : [ { - "app-plus" : { - "launchtype" : "local" - }, - "default" : { - "launchtype" : "local" - }, - "type" : "uniCloud" + "app-plus" : + { + "launchtype" : "local" + }, + "default" : + { + "launchtype" : "local" + }, + "mp-weixin" : + { + "launchtype" : "local" + }, + "type" : "uniCloud" }, { "openVueDevtools" : true, diff --git a/src/pages/login/login.vue b/src/pages/login/login.vue index f2586d4..d182005 100644 --- a/src/pages/login/login.vue +++ b/src/pages/login/login.vue @@ -118,7 +118,6 @@ const loginForm = ref({ account: '', password: '', smsCode: '', - jsCode: '', }) const content = ref('获取验证码') // 按钮里显示的内容 @@ -200,7 +199,6 @@ const handleLogin = async () => { return } else { // 先发送请求 - // loginForm.value.jsCode = UniCode.value let URL = '/pages/index/index' loginUser(loginForm.value) .then((res: any) => { diff --git a/src/pages/my/my.vue b/src/pages/my/my.vue index 0f00df9..47d6605 100644 --- a/src/pages/my/my.vue +++ b/src/pages/my/my.vue @@ -1,4 +1,5 @@