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
Commit
71ac59f2
authored
Feb 17, 2024
by
YunaiV
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitee.com/yudaocode/yudao-ui-admin-vue3
into dev
parents
1549a57c
a3b21e70
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 @
71ac59f2
...
...
@@ -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