jiangping
2024-12-25 db5cab715e0fac78feb081a1ad342b8b9bab2edb
admin/src/components/common/GlobalAlertWindow.vue
@@ -21,7 +21,7 @@
    <div v-if="withFooter" class="window__footer">
      <slot name="footer">
        <el-button @click="confirm" :loading="confirmWorking" type="primary">确定</el-button>
        <el-button v-if="showCancel" @click="close">取消</el-button>
        <el-button v-if="!showCancel" @click="close">取消</el-button>
      </slot>
    </div>
  </el-dialog>
@@ -41,7 +41,7 @@
    },
    showCancel: {
      type: Boolean,
      default: true
      default: false
    },
    // 是否包含底部操作
    withFooter: {