This commit is contained in:
YunaiV 2024-02-17 20:41:43 +08:00
commit 71ac59f22e

View File

@ -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 = {