c678a78f by renchao@pashanhoo.com

style:登录首页修改

1 parent 50d4471c
/*
* @Description :路由配置
* @Autor : miaofang
* @LastEditTime: 2023-06-20 11:09:57
* @LastEditTime: 2023-06-26 09:56:40
*/
import Vue from 'vue'
import Router from 'vue-router'
......@@ -40,14 +40,14 @@ export const asyncRoutes = [
// 区县接入
{
path: '/',
redirect: '/qxjr',
meta: { title: '区县接入', icon: 'qxjr' },
component: Layout,
redirect: '/home',
meta: { title: '区县接入', icon: 'qxjr' },
children: [
{
path: 'qxjr',
path: 'home',
component: () => import('@/views/jsbwcx/index'),
name: 'qxjr',
name: 'home',
meta: { title: '区县接入', icon: 'zsgl' }
}
]
......
......@@ -141,7 +141,6 @@ export default {
this.userInfo
)
.then((response) => {
debugger
if (response.data.status === 1) {
if (response.data.content.location) {
window.location.href = response.data.content.location;
......@@ -151,9 +150,8 @@ export default {
}
})
.catch((error) => {
console.log(error);
this.$message.error(error.message);
});
})
} else {
return
}
......