Merge branch 'master' of https://gitee.com/yudaocode/yudao-ui-admin-vue3 into dev
This commit is contained in:
commit
71ac59f22e
@ -86,7 +86,7 @@ const formData = reactive({
|
|||||||
})
|
})
|
||||||
const formRef = ref() // 表单 Ref
|
const formRef = ref() // 表单 Ref
|
||||||
const deptOptions = ref<any[]>([]) // 部门树形结构
|
const deptOptions = ref<any[]>([]) // 部门树形结构
|
||||||
const deptExpand = ref(false) // 展开/折叠
|
const deptExpand = ref(true) // 展开/折叠
|
||||||
const treeRef = ref() // 菜单树组件 Ref
|
const treeRef = ref() // 菜单树组件 Ref
|
||||||
const treeNodeAll = ref(false) // 全选/全不选
|
const treeNodeAll = ref(false) // 全选/全不选
|
||||||
const checkStrictly = ref(true) // 是否严格模式,即父子不关联
|
const checkStrictly = ref(true) // 是否严格模式,即父子不关联
|
||||||
@ -135,7 +135,7 @@ const submitForm = async () => {
|
|||||||
const resetForm = () => {
|
const resetForm = () => {
|
||||||
// 重置选项
|
// 重置选项
|
||||||
treeNodeAll.value = false
|
treeNodeAll.value = false
|
||||||
deptExpand.value = false
|
deptExpand.value = true
|
||||||
checkStrictly.value = true
|
checkStrictly.value = true
|
||||||
// 重置表单
|
// 重置表单
|
||||||
formData.value = {
|
formData.value = {
|
||||||
|
Loading…
Reference in New Issue
Block a user