jiangping
2024-02-01 f6b0e262db2af5ca2e5ed76f95e746c1dd3c58e3
company/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">确定</el-button>
        <el-button @click="confirm" :loading="confirmWorking" type="primary">{{text}}</el-button>
        <el-button @click="close">返回</el-button>
      </slot>
    </div>
@@ -40,6 +40,11 @@
      type: Boolean,
      default: true
    },
    // 提交按钮文字
    text: {
      type: String,
      default: '确定'
    },
    // 确认按钮loading状态
    confirmWorking: {
      type: Boolean,