fix(dept.vue): 添加部门数据丢失问题修复
Former-commit-id: e788a3c46142be3bcb8d58a2a16c5ee9aa67729d
This commit is contained in:
1 parent
8402f5eb67
commit
3ee1a0ebcf
1 file changed
+1
@@ -195,6 +195,7 @@ async function loadDeptData() {
|
|||||||
*/
|
*/
|
||||||
function handleAdd(row: any) {
|
function handleAdd(row: any) {
|
||||||
loadDeptData();
|
loadDeptData();
|
||||||
|
state.formData.id = undefined
|
||||||
state.formData.parentId = row.id;
|
state.formData.parentId = row.id;
|
||||||
state.dialog = {
|
state.dialog = {
|
||||||
title: "添加部门",
|
title: "添加部门",
|
||||||
|
|||||||
Reference in new issue
Block a user