Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
a3b21e70
authored
Feb 17, 2024
by
芋道源码
Committed by
Gitee
Feb 17, 2024
Browse files
Options
Browse Files
Download
Plain Diff
!375 修复权限范围默认展开,deptExpand 却默认折叠的问题
Merge pull request !375 from moon69/N/A
parents
8d532dfc
62037442
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/views/system/role/RoleDataPermissionForm.vue
+2
-2
No files found.
src/views/system/role/RoleDataPermissionForm.vue
View file @
a3b21e70
...
...
@@ -86,7 +86,7 @@ const formData = reactive({
})
const
formRef
=
ref
()
// 表单 Ref
const
deptOptions
=
ref
<
any
[]
>
([])
// 部门树形结构
const
deptExpand
=
ref
(
fals
e
)
// 展开/折叠
const
deptExpand
=
ref
(
tru
e
)
// 展开/折叠
const
treeRef
=
ref
()
// 菜单树组件 Ref
const
treeNodeAll
=
ref
(
false
)
// 全选/全不选
const
checkStrictly
=
ref
(
true
)
// 是否严格模式,即父子不关联
...
...
@@ -135,7 +135,7 @@ const submitForm = async () => {
const
resetForm
=
()
=>
{
// 重置选项
treeNodeAll
.
value
=
false
deptExpand
.
value
=
fals
e
deptExpand
.
value
=
tru
e
checkStrictly
.
value
=
true
// 重置表单
formData
.
value
=
{
...
...
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