src/components/Dialog/ImportDialog.vue
@@ -39,8 +39,8 @@ </el-upload> <template #footer> <div class="dialog-footer"> <el-button type="primary" @click="handleConfirm">确 定</el-button> <el-button @click="handleCancel">取 消</el-button> <el-button type="primary" :loading="loading" @click="handleConfirm">确 定</el-button> <el-button :disabled="loading" @click="handleCancel">取 消</el-button> </div> </template> </el-dialog> @@ -118,6 +118,10 @@ onChange: { type: Function, default: null }, loading: { type: Boolean, default: false } })