Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-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
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
lanbaoming
jiedao-app-operator-master
Commits
ebc4fd41
Commit
ebc4fd41
authored
Jan 13, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
角色管理之菜单权限国际化异常
parent
e1b3263e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.vue
src/views/system/role/index.vue
+2
-2
No files found.
src/views/system/role/index.vue
View file @
ebc4fd41
...
@@ -154,7 +154,7 @@
...
@@ -154,7 +154,7 @@
<el-form-item
:label=
"$t('菜单权限')"
>
<el-form-item
:label=
"$t('菜单权限')"
>
<el-checkbox
v-model=
"menuExpand"
@
change=
"handleCheckedTreeExpand($event, 'menu')"
>
{{$t('展开')}}/{{$t('折叠')}}
</el-checkbox>
<el-checkbox
v-model=
"menuExpand"
@
change=
"handleCheckedTreeExpand($event, 'menu')"
>
{{$t('展开')}}/{{$t('折叠')}}
</el-checkbox>
<el-checkbox
v-model=
"menuNodeAll"
@
change=
"handleCheckedTreeNodeAll($event, 'menu')"
>
{{$t('全选')}}/{{$t('全不选')}}
</el-checkbox>
<el-checkbox
v-model=
"menuNodeAll"
@
change=
"handleCheckedTreeNodeAll($event, 'menu')"
>
{{$t('全选')}}/{{$t('全不选')}}
</el-checkbox>
<el-tree
class=
"tree-border"
:data=
"menuOptions"
show-checkbox
ref=
"menu"
node-key=
"id"
<el-tree
v-if=
"openMenu"
class=
"tree-border"
:data=
"menuOptions"
show-checkbox
ref=
"menu"
node-key=
"id"
:check-strictly=
"true"
:empty-text=
"$t('加载中,请稍后')"
:props=
"defaultProps"
></el-tree>
:check-strictly=
"true"
:empty-text=
"$t('加载中,请稍后')"
:props=
"defaultProps"
></el-tree>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -251,7 +251,7 @@ export default {
...
@@ -251,7 +251,7 @@ export default {
computed
:{
computed
:{
defaultProps
(){
defaultProps
(){
return
{
return
{
label
:
this
.
$
t
(
"
name
"
)
,
label
:
this
.
$
i18n
.
locale
.
indexOf
(
'
en
'
)
>
-
1
?
'
nameEn
'
:
'
name
'
,
children
:
"
children
"
children
:
"
children
"
}
}
},
},
...
...
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