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 @@
-
-
-
-
- {{ title }}
-
-
-
-
-
-
-
-
-
\ 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'
})
}