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

Former-commit-id: 924c9b38b15a0ca730560f7144531bdb68018112
This commit is contained in:
郝先瑞 committed 2022-04-19 12:50:48 +08:00
1 parent 3ee1a0ebcf
commit 54e39e241e
1 file changed
+1 -1
+1 -1
View File
@@ -195,7 +195,7 @@ async function loadDeptData() {
*/ */
function handleAdd(row: any) { function handleAdd(row: any) {
loadDeptData(); loadDeptData();
state.formData.id = undefined state.formData.id=undefined
state.formData.parentId = row.id; state.formData.parentId = row.id;
state.dialog = { state.dialog = {
title: "添加部门", title: "添加部门",