MrShi
2 天以前 39fc2d6754953e41a7334a2166347baacfcfb40a
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: {