Showing
6 changed files
with
6 additions
and
6 deletions
| @@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
| 11 | "navigationBarTitleText": "注册" | 11 | "navigationBarTitleText": "注册" |
| 12 | } | 12 | } |
| 13 | }, { | 13 | }, { |
| 14 | - "path": "pages/index", | 14 | + "path": "pages/index/index", |
| 15 | "style": { | 15 | "style": { |
| 16 | "navigationBarTitleText": "首页", | 16 | "navigationBarTitleText": "首页", |
| 17 | "navigationStyle": "custom" | 17 | "navigationStyle": "custom" |
| @@ -209,7 +209,7 @@ | @@ -209,7 +209,7 @@ | ||
| 209 | "selectedColor": "#3D48A3", | 209 | "selectedColor": "#3D48A3", |
| 210 | "borderStyle": "white", | 210 | "borderStyle": "white", |
| 211 | "list": [{ | 211 | "list": [{ |
| 212 | - "pagePath": "pages/index", | 212 | + "pagePath": "pages/index/index", |
| 213 | "iconPath": "static/images/tabbar/home.png", | 213 | "iconPath": "static/images/tabbar/home.png", |
| 214 | "selectedIconPath": "static/images/tabbar/home_act.png", | 214 | "selectedIconPath": "static/images/tabbar/home_act.png", |
| 215 | "text": "首页" | 215 | "text": "首页" |
pages/index/index.vue
renamed from
pages/index.vue
| @@ -126,7 +126,7 @@ | @@ -126,7 +126,7 @@ | ||
| 126 | handleLogout() { | 126 | handleLogout() { |
| 127 | this.$modal.confirm('确定注销并退出系统吗?').then(() => { | 127 | this.$modal.confirm('确定注销并退出系统吗?').then(() => { |
| 128 | this.$store.dispatch('LogOut').then(() => { | 128 | this.$store.dispatch('LogOut').then(() => { |
| 129 | - this.$tab.reLaunch('/pages/index') | 129 | + this.$tab.reLaunch('/pages/index/index') |
| 130 | }) | 130 | }) |
| 131 | }) | 131 | }) |
| 132 | }, | 132 | }, |
| @@ -50,7 +50,7 @@ | @@ -50,7 +50,7 @@ | ||
| 50 | handleLogout() { | 50 | handleLogout() { |
| 51 | this.$modal.confirm('确定注销并退出系统吗?').then(() => { | 51 | this.$modal.confirm('确定注销并退出系统吗?').then(() => { |
| 52 | this.$store.dispatch('LogOut').then(() => { | 52 | this.$store.dispatch('LogOut').then(() => { |
| 53 | - this.$tab.reLaunch('/pages/index') | 53 | + this.$tab.reLaunch('/pages/index/index') |
| 54 | }) | 54 | }) |
| 55 | }) | 55 | }) |
| 56 | } | 56 | } |
| @@ -111,7 +111,7 @@ | @@ -111,7 +111,7 @@ | ||
| 111 | registerSuccess(result) { | 111 | registerSuccess(result) { |
| 112 | // 设置用户信息 | 112 | // 设置用户信息 |
| 113 | this.$store.dispatch('GetInfo').then(res => { | 113 | this.$store.dispatch('GetInfo').then(res => { |
| 114 | - this.$tab.reLaunch('/pages/index') | 114 | + this.$tab.reLaunch('/pages/index/index') |
| 115 | }) | 115 | }) |
| 116 | } | 116 | } |
| 117 | } | 117 | } |