jiangping
2024-10-17 de0e3e6b98d7d2b7f7ccf88a008eb9cd8a9fa4c3
admin/src/components/common/GlobalWindow.vue
@@ -20,7 +20,7 @@
    </div>
    <div v-if="withFooter" class="window__footer">
      <slot name="footer">
        <el-button @click="confirm" :loading="confirmWorking" type="primary">{{text}}</el-button>
        <el-button v-if="showConfirm" @click="confirm" :loading="confirmWorking" type="primary">{{text}}</el-button>
        <slot name="btns" />
        <el-button @click="close">{{ backText }}</el-button>
      </slot>
@@ -55,6 +55,10 @@
      type: Boolean,
      default: false
    },
    showConfirm: {
      type: Boolean,
      default: true
    },
    // 标题
    title: {
      type: String,