jiangping
2024-01-30 a9ca0823ab8f33ca85abebcf6ec4a8da235adb49
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,