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 e64f5dc2
authored
Oct 25, 2023
by
祖铭松(前端)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: update
1 parent
601655a1
Show 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 @
e64f5dc
This diff could not be displayed because it is too large.
src/router/index.js
View file @
e64f5dc
...
...
@@ -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 @
e64f5dc
...
...
@@ -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 @
e64f5dc
...
...
@@ -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