admin/src/components/base/BaseOpera.vue
@@ -19,6 +19,11 @@ // console.log(this.visible); // } // }, watch: { $route (to, from) { this.close() } }, methods: { // 配置 config (extParams = {}) { @@ -54,9 +59,11 @@ } }) }, close () { this.visible = false }, // 确认新建/修改 confirm () { if (this.form.id == null || this.form.id === '') { this.__confirmCreate() return