style:登录首页修改
Showing
2 changed files
with
6 additions
and
8 deletions
| 1 | /* | 1 | /* | 
| 2 | * @Description :路由配置 | 2 | * @Description :路由配置 | 
| 3 | * @Autor : miaofang | 3 | * @Autor : miaofang | 
| 4 | * @LastEditTime: 2023-06-20 11:09:57 | 4 | * @LastEditTime: 2023-06-26 09:56:40 | 
| 5 | */ | 5 | */ | 
| 6 | import Vue from 'vue' | 6 | import Vue from 'vue' | 
| 7 | import Router from 'vue-router' | 7 | import Router from 'vue-router' | 
| ... | @@ -40,14 +40,14 @@ export const asyncRoutes = [ | ... | @@ -40,14 +40,14 @@ export const asyncRoutes = [ | 
| 40 | // 区县接入 | 40 | // 区县接入 | 
| 41 | { | 41 | { | 
| 42 | path: '/', | 42 | path: '/', | 
| 43 | redirect: '/qxjr', | ||
| 44 | meta: { title: '区县接入', icon: 'qxjr' }, | ||
| 45 | component: Layout, | 43 | component: Layout, | 
| 44 | redirect: '/home', | ||
| 45 | meta: { title: '区县接入', icon: 'qxjr' }, | ||
| 46 | children: [ | 46 | children: [ | 
| 47 | { | 47 | { | 
| 48 | path: 'qxjr', | 48 | path: 'home', | 
| 49 | component: () => import('@/views/jsbwcx/index'), | 49 | component: () => import('@/views/jsbwcx/index'), | 
| 50 | name: 'qxjr', | 50 | name: 'home', | 
| 51 | meta: { title: '区县接入', icon: 'zsgl' } | 51 | meta: { title: '区县接入', icon: 'zsgl' } | 
| 52 | } | 52 | } | 
| 53 | ] | 53 | ] | ... | ... | 
| ... | @@ -141,7 +141,6 @@ export default { | ... | @@ -141,7 +141,6 @@ export default { | 
| 141 | this.userInfo | 141 | this.userInfo | 
| 142 | ) | 142 | ) | 
| 143 | .then((response) => { | 143 | .then((response) => { | 
| 144 | debugger | ||
| 145 | if (response.data.status === 1) { | 144 | if (response.data.status === 1) { | 
| 146 | if (response.data.content.location) { | 145 | if (response.data.content.location) { | 
| 147 | window.location.href = response.data.content.location; | 146 | window.location.href = response.data.content.location; | 
| ... | @@ -151,9 +150,8 @@ export default { | ... | @@ -151,9 +150,8 @@ export default { | 
| 151 | } | 150 | } | 
| 152 | }) | 151 | }) | 
| 153 | .catch((error) => { | 152 | .catch((error) => { | 
| 154 | console.log(error); | ||
| 155 | this.$message.error(error.message); | 153 | this.$message.error(error.message); | 
| 156 | }); | 154 | }) | 
| 157 | } else { | 155 | } else { | 
| 158 | return | 156 | return | 
| 159 | } | 157 | } | ... | ... | 
- 
Please register or sign in to post a comment