platform/src/components/base/BaseOpera.vue
@@ -14,16 +14,6 @@ } } }, // watch: { // visible() { // console.log(this.visible); // } // }, watch: { $route (to, from) { this.close() } }, methods: { // 配置 config (extParams = {}) { @@ -59,9 +49,6 @@ } }) }, close () { this.visible = false }, // 确认新建/修改 confirm () { if (this.form.id == null || this.form.id === '') { @@ -73,12 +60,9 @@ // 确认新建 __confirmCreate () { this.$refs.form.validate((valid) => { // debugger if (!valid) { return } // console.log(this.form); // debugger // 调用新建接口 this.isWorking = true this.api.create(this.form)