fix(dept.vue): 添加部门数据丢失问题修复

Former-commit-id: 924c9b38b15a0ca730560f7144531bdb68018112
This commit is contained in:
郝先瑞
2022-04-19 12:50:48 +08:00
parent 3ee1a0ebcf
commit 54e39e241e

View File

@@ -195,7 +195,7 @@ async function loadDeptData() {
*/
function handleAdd(row: any) {
loadDeptData();
state.formData.id = undefined
state.formData.id=undefined
state.formData.parentId = row.id;
state.dialog = {
title: "添加部门",