派生自 wuyushui/SewerAndRainNetwork

chenyabin
2021-04-07 7b2f20f1299306f087d89aa202b52708df7ec4e6
src/views/popup/Dialog.vue
@@ -1,15 +1,16 @@
<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 +28,9 @@
  methods: {
    show () {
      this.centerDialogVisible = true
    },
    closeDialog () {
      this.$emit('closeDialog')
    }
  }
}