派生自 wuyushui/SewerAndRainNetwork

chenzeping
2021-04-13 12ac24e91636c9723b2e89fc354735aa27e10c69
src/views/popup/Dialog.vue
@@ -1,15 +1,15 @@
<template>
    <el-dialog
    <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>
</template>
<script>
// import '@/assets/css/map/map-popup.scss'
export default {
  name: 'Dialog',
@@ -27,6 +27,9 @@
  methods: {
    show () {
      this.centerDialogVisible = true
    },
    closeDialog () {
      this.$emit('closeDialog')
    }
  }
}