From 10179663190cba43a9b10120884e3514e875e9ee Mon Sep 17 00:00:00 2001 From: lq Date: Fri, 25 Oct 2024 13:39:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=99=BB=E5=BD=95=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 2 +- pages/home/home.vue | 18 +++++++++++++----- pages/login/login.vue | 10 +++++++++- 3 files changed, 23 insertions(+), 7 deletions(-) diff --git a/manifest.json b/manifest.json index dd9667e..dc1b0a2 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name" : "xiaokang-cline", - "appid" : "__UNI__0F46058", + "appid" : "__UNI__5D44D95", "description" : "", "versionName" : "1.0.0", "versionCode" : "100", diff --git a/pages/home/home.vue b/pages/home/home.vue index da3d0ac..c1f58f6 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -198,12 +198,17 @@ ], info: [], bgShow: false, - isShow_envVersion: true + isShow_envVersion: false } }, onLoad() { setInterval(() => { this.isShow_envVersion = uni.getStorageSync('isShow_envVersion') + if (this.isShow_envVersion == false) { + if (this.doctorList.length == 0) { + this.getList(); + } + } }, 500) }, created() { @@ -221,9 +226,13 @@ // }) // } - uni.navigateTo({ - url: '/pages/home/index' - }) + // uni.navigateTo({ + // url: '/pages/home/index' + // }) + // 跳转到登录页,不要返回的 + uni.navigateTo({ + url: '/pages/login/login' + }) } }, @@ -236,7 +245,6 @@ uni.setNavigationBarTitle({ title: this.headerTitle, success() { - console.log(1111); } }); uni.setNavigationBarColor({ diff --git a/pages/login/login.vue b/pages/login/login.vue index ffa9f94..b5eba75 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -8,7 +8,7 @@ + @getphonenumber="getPhoneNumber">手机号一键登录