src/views/dnc/base/modules/ProductStructure/Product/ProductModal.vue
@@ -29,7 +29,7 @@ return { title: '', width: 500, visible: false, visible: false } }, created() { @@ -42,7 +42,7 @@ handleProductAdd() { this.visible = true this.$nextTick(() => { this.$refs.realForm.add() if (this.$refs.realForm) this.$refs.realForm.add() }) }, @@ -52,7 +52,9 @@ handleProductEdit() { this.visible = true this.$nextTick(() => { if (this.$refs.realForm) { this.$refs.realForm.edit({ id: this.currentTreeNodeInfo.id, ...this.currentTreeNodeInfo.entity }) } }) },