派生自 wuyushui/SewerAndRainNetwork

chenyabin
2021-04-13 efc4fcf8e7e8d607d59e8f4967a720f787dbe249
src/views/popup/Dialog.vue
@@ -2,9 +2,9 @@
    <el-dialog  v-dialogDrag
            :title="title"
            :visible.sync="centerDialogVisible"
            width="30%"
            :modal="false"
            :close-on-click-modal="false"
             @close='closeDialog'
            center>
        <slot></slot>
    </el-dialog>
@@ -27,6 +27,9 @@
  methods: {
    show () {
      this.centerDialogVisible = true
    },
    closeDialog () {
      this.$emit('closeDialog')
    }
  }
}