Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigDataSystem
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
bigDataSystem
Commits
582db30f
Commit
582db30f
authored
Dec 20, 2024
by
chenjiahao
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
712f5c26
701cbd20
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
UpgradePrompt.vue
src/layouts/default/header/components/UpgradePrompt.vue
+5
-2
No files found.
src/layouts/default/header/components/UpgradePrompt.vue
View file @
582db30f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
import
{
h
,
ref
,
onMounted
,
computed
}
from
'vue'
;
import
{
h
,
ref
,
onMounted
,
computed
}
from
'vue'
;
import
{
Modal
,
Segmented
}
from
'ant-design-vue'
;
import
{
Modal
,
Segmented
}
from
'ant-design-vue'
;
import
{
useI18n
}
from
'@/hooks/web/useI18n'
;
import
{
useI18n
}
from
'@/hooks/web/useI18n'
;
import
{
useUserStoreWithOut
}
from
'@/store/modules/user'
;
import
{
useUserStore
,
useUserStoreWithOut
}
from
'@/store/modules/user'
;
import
{
router
}
from
'@/router'
;
import
{
router
}
from
'@/router'
;
import
{
import
{
editBucketData
,
editBucketData
,
...
@@ -101,7 +101,10 @@
...
@@ -101,7 +101,10 @@
async
function
handleSelect
(
type
,
segmentValue
)
{
async
function
handleSelect
(
type
,
segmentValue
)
{
localStorage
.
setItem
(
'type'
,
type
);
localStorage
.
setItem
(
'type'
,
type
);
localStorage
.
setItem
(
'segmentValue'
,
segmentValue
);
localStorage
.
setItem
(
'segmentValue'
,
segmentValue
);
await
router
.
replace
(
'/'
);
// await router.replace('/');
const
userStore
=
useUserStore
();
// // 重新获取用户信息和菜单
await
userStore
.
afterLoginAction
(
true
);
window
.
location
.
reload
();
window
.
location
.
reload
();
}
}
</
script
>
</
script
>
...
...
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