diff --git a/apis/request.js b/apis/request.js index 7e43c8b..31e247e 100644 --- a/apis/request.js +++ b/apis/request.js @@ -39,8 +39,8 @@ const request = options => { }) setTimeout(() => { logouted = 0 - uni.redirectTo({ - url: '../index/index' + uni.reLaunch({ + url: '/pages/index/index' }) }, 1500) reject(data) diff --git a/pages.json b/pages.json index 7130a1f..a679049 100644 --- a/pages.json +++ b/pages.json @@ -16,14 +16,6 @@ "enablePullDownRefresh": false } }, - { - "path" : "pages/home/home", - "style" : - { - "navigationStyle": "custom", - "enablePullDownRefresh": false - } - }, { "path" : "pages/workbench/workbench", "style" : @@ -317,7 +309,7 @@ "fontSize": "22px", "iconWidth": "20px", "list": [{ - "pagePath": "pages/home/home", + "pagePath": "pages/index/index", "iconPath": "static/image/tab1.png", "selectedIconPath": "static/image/tab1-1.png", "text": "首页" diff --git a/pages/home/home.vue b/pages/home/home.vue deleted file mode 100644 index fe4d05c..0000000 --- a/pages/home/home.vue +++ /dev/null @@ -1,424 +0,0 @@ - - - - - diff --git a/pages/index/index.vue b/pages/index/index.vue index b1c5051..2ad1e87 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -15,9 +15,9 @@ - + - + @@ -27,7 +27,7 @@