mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-01-14 02:54:09 +08:00
fix: Fixed issue with backup mysql-cluster failed (#10433)
This commit is contained in:
parent
b73b851245
commit
40e264e0d4
1 changed files with 8 additions and 2 deletions
|
|
@ -13,7 +13,7 @@
|
|||
<el-alert :closable="false" type="warning">
|
||||
<template #default>
|
||||
<ul>
|
||||
<li v-if="type === 'mysql' || type === 'mariadb'">
|
||||
<li v-if="type === 'mysql' || type === 'mariadb' || type === 'mysql-cluster'">
|
||||
{{ $t('database.formatHelper', [remark]) }}
|
||||
</li>
|
||||
<li v-if="isDb()">{{ $t('database.supportUpType') }}</li>
|
||||
|
|
@ -299,7 +299,13 @@ const onRecover = async (row: File.File) => {
|
|||
};
|
||||
|
||||
const isDb = () => {
|
||||
return type.value === 'mysql' || type.value === 'mariadb' || type.value === 'postgresql';
|
||||
return (
|
||||
type.value === 'mysql' ||
|
||||
type.value === 'mariadb' ||
|
||||
type.value === 'postgresql' ||
|
||||
type.value === 'mysql-cluster' ||
|
||||
type.value === 'postgresql-cluster'
|
||||
);
|
||||
};
|
||||
const uploaderFiles = ref<UploadFiles>([]);
|
||||
const uploadRef = ref<UploadInstance>();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue