From cbf88d106fc955fe602156a584e9c95a3c36e569 Mon Sep 17 00:00:00 2001 From: wangyi <3432649580@qq.com> Date: Wed, 29 Oct 2025 15:24:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=A8=E5=86=8C=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 10 ------ pages/setting/account.vue | 4 +++ pages/start/Registration/Registration.vue | 2 +- pages/start/index/index.vue | 56 ------------------------------- utils/http.js | 6 ++-- 5 files changed, 8 insertions(+), 70 deletions(-) delete mode 100644 pages/start/index/index.vue diff --git a/pages.json b/pages.json index cfa20c4..6e16917 100644 --- a/pages.json +++ b/pages.json @@ -29,16 +29,6 @@ } }, { - "path": "pages/start/index/index", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "uni-app", - "disableSwipeBack": true, - "titleNView": false, - "bounce": false - } - }, - { "path": "pages/start/Registration/Registration", "style": { "navigationBarTitleText": "", diff --git a/pages/setting/account.vue b/pages/setting/account.vue index d03f1d1..2080ad1 100644 --- a/pages/setting/account.vue +++ b/pages/setting/account.vue @@ -86,6 +86,10 @@ title: '退出登录成功', icon: 'none', }) + + uni.navigateTo({ + url: '/pages/start/login/login' + }) } const goToBind = () =>{ diff --git a/pages/start/Registration/Registration.vue b/pages/start/Registration/Registration.vue index e786964..fc07232 100644 --- a/pages/start/Registration/Registration.vue +++ b/pages/start/Registration/Registration.vue @@ -246,7 +246,7 @@ function showCountryPicker() { function goToIndex() { // 返回上一页 uni.navigateTo({ - url: "/pages/start/index/index", + url: "/pages/start/login/login", }); } diff --git a/pages/start/index/index.vue b/pages/start/index/index.vue deleted file mode 100644 index 30c8683..0000000 --- a/pages/start/index/index.vue +++ /dev/null @@ -1,56 +0,0 @@ - - - - - \ No newline at end of file diff --git a/utils/http.js b/utils/http.js index b4a2740..125a156 100644 --- a/utils/http.js +++ b/utils/http.js @@ -1,7 +1,7 @@ import { useUserStore } from "../stores/modules/userInfo" import { useDeviceStore } from "../stores/modules/deviceInfo" -const baseURL = "https://hwjb.homilychart.com/testApi" +const baseURL = "https://dbqb.nfdxy.net/testApi" const httpInterceptor = { @@ -22,7 +22,7 @@ const httpInterceptor = { // 打印最终请求地址 console.log('HTTP(finalUrl)=', options.url) // 2.请求超时,默认60s - options.timeout = 60000 + options.timeout = 10000 console.log(options) //3 添加小程序端请求头 const sys = uni.getSystemInfoSync(); @@ -91,7 +91,7 @@ export const http = (options) => { fail: (err) => { reject(err) uni.showToast({ - title: '网络错误', + title: '请求超时', icon: 'none' }) }