Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
李伟超(前端)
/
guoguo_kuaidi
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9d98df40
authored
Oct 31, 2023
by
李伟超(前端)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
1 parent
e64f5dc2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
npm-shrinkwrap.json
src/router/index.js
src/utils/httpRequest.js
src/views/main-sidebar.vue
npm-shrinkwrap.json
View file @
9d98df4
This diff could not be displayed because it is too large.
src/router/index.js
View file @
9d98df4
...
...
@@ -402,7 +402,7 @@ router.beforeEach((to, from, next) => {
"color:blue"
);
// router.push({name: 'login'})
//
window.location.href = store.state.domainURL + 'shoplist';
window
.
location
.
href
=
store
.
state
.
domainURL
+
'shoplist'
;
});
}
else
if
(
router
.
options
.
isAddDynamicMenuRoutes
||
...
...
@@ -440,7 +440,7 @@ router.beforeEach((to, from, next) => {
"color:blue"
);
// router.push({name: 'login'})
//
window.location.href = store.state.domainURL + 'shoplist';
window
.
location
.
href
=
store
.
state
.
domainURL
+
'shoplist'
;
});
}
});
...
...
src/utils/httpRequest.js
View file @
9d98df4
...
...
@@ -46,7 +46,7 @@ http.interceptors.response.use(
onClose
:
()
=>
{
clearCookie
();
sessionStorage
.
clear
();
//
window.location.href = store.state.domainURL + 'shoplist';
window
.
location
.
href
=
store
.
state
.
domainURL
+
'shoplist'
;
}
});
// router.push({ name: 'login' })
...
...
src/views/main-sidebar.vue
View file @
9d98df4
...
...
@@ -190,7 +190,7 @@ export default {
switch
(
event
)
{
case
"logout"
:
clearCookie
();
//
window.location.href = this.$store.state.domainURL + 'shoplist';
window
.
location
.
href
=
this
.
$store
.
state
.
domainURL
+
'shoplist'
;
break
;
case
"modify"
:
this
.
updatePasswordHandle
()
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment