fix(字典管理): 🐛 字典管理

字典管理
This commit is contained in:
猿小天
2023-03-06 01:49:39 +08:00
parent 284f09f90d
commit 4de58819e5
9 changed files with 39 additions and 9 deletions

View File

@@ -306,7 +306,7 @@ const onSaveButtonForm = async () => {
//选中的部门
const checkedList = deptTree.value.getCheckedKeys()
form.dept = checkedList
if (!buttonFormRef) return
if (!buttonFormRef.value) return
await buttonFormRef.value.validate((valid, fields) => {
if (valid) {
api.CreatePermission(form).then((res:any)=>{