Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
d12fd8d5
Commit
d12fd8d5
authored
Aug 02, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改获取站点id失败
parent
77e8bab1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
base-manager-ui/admin/src/pages/basicset/jump/jump.vue
base-manager-ui/admin/src/pages/basicset/jump/jump.vue
+3
-3
No files found.
base-manager-ui/admin/src/pages/basicset/jump/jump.vue
View file @
d12fd8d5
...
@@ -25,17 +25,17 @@ export default {
...
@@ -25,17 +25,17 @@ export default {
]),
]),
// 获取token
// 获取token
getToken
()
{
getToken
()
{
let
{
token
,
userInfo
,
site
I
d
,
siteName
,
sysName
,
sysLogo
}
=
let
{
token
,
userInfo
,
site
i
d
,
siteName
,
sysName
,
sysLogo
}
=
this
.
$route
.
query
;
this
.
$route
.
query
;
if
(
token
&&
userInfo
)
{
if
(
token
&&
userInfo
)
{
userInfo
=
JSON
.
parse
(
userInfo
);
userInfo
=
JSON
.
parse
(
userInfo
);
this
.
SET_userInfo
(
userInfo
);
this
.
SET_userInfo
(
userInfo
);
this
.
SET_token
(
token
);
this
.
SET_token
(
token
);
this
.
SET_SITE_ID
(
site
I
d
);
this
.
SET_SITE_ID
(
site
i
d
);
this
.
SET_siteName
(
siteName
);
this
.
SET_siteName
(
siteName
);
this
.
SET_sysName
(
sysName
);
this
.
SET_sysName
(
sysName
);
this
.
SET_sysLogo
(
sysLogo
);
this
.
SET_sysLogo
(
sysLogo
);
local
.
setLocal
(
"
siteId
"
,
site
I
d
);
local
.
setLocal
(
"
siteId
"
,
site
i
d
);
local
.
setLocal
(
"
siteName
"
,
siteName
);
local
.
setLocal
(
"
siteName
"
,
siteName
);
this
.
$router
.
push
(
"
/website
"
);
this
.
$router
.
push
(
"
/website
"
);
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment