diff --git a/src/views/system/dept/listDept.vue b/src/views/system/dept/listDept.vue index 5f05c78..ca13348 100644 --- a/src/views/system/dept/listDept.vue +++ b/src/views/system/dept/listDept.vue @@ -14,8 +14,8 @@ @@ -84,9 +84,11 @@ }, edit(row) { this.dialogStatus = 'update' - this.dialogFormVisible = true console.log('row:' + row) - this.$refs.editdept.initDialog(this.dialogStatus, this.dialogFormVisible, row) + setTimeout(() => { + this.dialogFormVisible = true + this.$refs.editdept.initDialog(this.dialogStatus, this.dialogFormVisible, row) + }, 100) }, del(row) { this.$confirm(