Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcsjsb-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
c678a78f
authored
2023-06-26 09:57:01 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:登录首页修改
1 parent
50d4471c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
src/router/index.js
src/views/login/index.vue
src/router/index.js
View file @
c678a78
/*
* @Description :路由配置
* @Autor : miaofang
* @LastEditTime: 2023-06-2
0 11:09:57
* @LastEditTime: 2023-06-2
6 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'
}
}
]
...
...
src/views/login/index.vue
View file @
c678a78
...
...
@@ -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
}
...
...
Please
register
or
sign in
to post a comment