Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
dj-scrm-wx-work-message-push
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f87abc94
authored
Sep 01, 2022
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
sessionId 不做缓存
1 parent
d5ba4f38
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
4 deletions
src/store/modules/app.js
src/views/progress/index.vue
src/store/modules/app.js
View file @
f87abc9
...
@@ -146,7 +146,7 @@ const actions = {
...
@@ -146,7 +146,7 @@ const actions = {
const
storage_sessionId
=
util
.
getSessionId
()
const
storage_sessionId
=
util
.
getSessionId
()
if
(
sessionId
||
storage_sessionId
)
{
if
(
sessionId
||
storage_sessionId
)
{
state
.
showWindow
=
true
state
.
showWindow
=
true
util
.
setSessionId
(
sessionId
||
storage_sessionId
)
//
util.setSessionId(sessionId || storage_sessionId)
dispatch
(
'registerHttp'
,
sessionId
||
storage_sessionId
)
dispatch
(
'registerHttp'
,
sessionId
||
storage_sessionId
)
}
else
{
}
else
{
util
.
showLoading
()
util
.
showLoading
()
...
...
src/views/progress/index.vue
View file @
f87abc9
...
@@ -40,9 +40,6 @@ export default {
...
@@ -40,9 +40,6 @@ export default {
})
})
}
}
},
destroyed
()
{
// 离开页面清除sessionId(sessionId有时效性)
util
.
removeLocalStorage
(
'dj_scrm_session_id'
)
}
}
}
}
</
script
>
</
script
>
...
...
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