Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-web-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
lanbaoming
jiedao-web-master
Commits
a33882ee
Commit
a33882ee
authored
Jan 08, 2025
by
Smile
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
侧边栏名称会员等级多语言显示问题
parent
308bd577
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
index.vue
src/layout/components/JdSidebar/index.vue
+13
-0
No files found.
src/layout/components/JdSidebar/index.vue
View file @
a33882ee
...
...
@@ -1040,8 +1040,16 @@ export default {
};
},
computed
:
{
language
()
{
return
this
.
$store
.
getters
.
language
},
...
mapGetters
([
"
loginUser
"
]),
},
watch
:
{
language
(
newVal
,
oldVal
)
{
this
.
onLanguageChange
(
newVal
,
oldVal
)
}
},
created
()
{
this
.
getMemberSystemStatus
();
this
.
action
=
this
.
$route
.
name
;
...
...
@@ -1057,6 +1065,11 @@ export default {
});
},
methods
:
{
onLanguageChange
(
newVal
,
oldVal
)
{
if
(
newVal
!==
oldVal
)
{
this
.
getInfo
();
}
},
getMemberSystemStatus
(){
memberSystemStatus
().
then
(
res
=>
{
this
.
switchState
=
res
.
data
...
...
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