78220 政策法规资料--新增时清空数据

This commit is contained in:
zyn
2023-11-07 16:46:18 +08:00
parent 9e4abc4472
commit 9236c1a9b8
@@ -243,7 +243,7 @@ export default {
this.form[field] = val.join(',')
},
add (treeNodeId) {
this.form = this.initForm
this.form = { ...this.initForm }
this.form.treeNodeId = treeNodeId
this.title = '新增'
this.showDrawer = true