MrShi
4 天以前 9eeb62c02a7b3c7b95c20678b6a9c74e7f12f943
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