Browse Source

fix: 解决备份恢复弹窗打开后无法关闭的问题 (#6376)

Refs #6355
pull/6379/head
ssongliu 3 months ago committed by GitHub
parent
commit
1173bbf628
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      frontend/src/components/backup/index.vue
  2. 4
      frontend/src/components/upload/index.vue

4
frontend/src/components/backup/index.vue

@ -77,7 +77,7 @@
:title="isBackup ? $t('commons.button.backup') : $t('commons.button.recover') + ' - ' + name"
width="40%"
:close-on-click-modal="false"
:before-close="handleClose"
:before-close="handleBackupClose"
>
<el-form ref="backupForm" label-position="left" v-loading="loading">
<el-form-item
@ -90,7 +90,7 @@
</el-form>
<template #footer>
<span class="dialog-footer">
<el-button @click="handleClose" :disabled="loading">
<el-button @click="handleBackupClose" :disabled="loading">
{{ $t('commons.button.cancel') }}
</el-button>
<el-button type="primary" @click="onSubmit" :disabled="loading">

4
frontend/src/components/upload/index.vue

@ -97,7 +97,7 @@
:title="$t('commons.button.recover') + ' - ' + name"
width="40%"
:close-on-click-modal="false"
:before-close="handleClose"
:before-close="handleBackupClose"
>
<el-form ref="backupForm" label-position="left" v-loading="loading">
<el-form-item
@ -110,7 +110,7 @@
</el-form>
<template #footer>
<span class="dialog-footer">
<el-button @click="handleClose" :disabled="loading">
<el-button @click="handleBackupClose" :disabled="loading">
{{ $t('commons.button.cancel') }}
</el-button>
<el-button type="primary" @click="onHandleRecover" :disabled="loading">

Loading…
Cancel
Save