1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 00:09:16 +08:00

fix: Fix the issue of database cover exception display. (#7682)

This commit is contained in:
ssongliu 2025-01-09 21:59:41 +08:00 committed by GitHub
parent b9be79b05a
commit aab8df6abc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 24 additions and 22 deletions

View File

@ -187,14 +187,12 @@ const clear = () => {
};
const onOperate = async (operation: string) => {
em('update:maskShow', false);
operateReq.operate = operation;
ElMessageBox.confirm(i18n.global.t(`app.${operation}OperatorHelper`), i18n.global.t('app.' + operation), {
confirmButtonText: i18n.global.t('commons.button.confirm'),
cancelButtonText: i18n.global.t('commons.button.cancel'),
type: 'info',
})
.then(() => {
}).then(() => {
em('update:maskShow', true);
em('update:loading', true);
em('before');
@ -208,9 +206,6 @@ const onOperate = async (operation: string) => {
.catch(() => {
em('update:loading', false);
});
})
.catch(() => {
em('update:maskShow', true);
});
};

View File

@ -1321,6 +1321,7 @@ const message = {
panelInstallDir: `1Panel installation directory can't be deleted`,
},
ssh: {
setting: 'Setting',
autoStart: 'Auto start',
enable: 'Enable Autostart',
disable: 'Disable Autostart',

View File

@ -1298,6 +1298,7 @@ const message = {
panelInstallDir: `1Panelインストールディレクトリは削除できません`,
},
ssh: {
setting: '設定',
autoStart: 'オートスタート',
enable: 'AutoStartを有効にします',
disable: 'AutoStartを無効にします',

View File

@ -1341,6 +1341,7 @@ const message = {
panelInstallDir: 'Direktori pemasangan 1Panel tidak boleh dipadamkan',
},
ssh: {
setting: 'tetapan',
autoStart: 'Mula automatik',
enable: 'Aktifkan Mula Automatik',
disable: 'Nyahaktif Mula Automatik',

View File

@ -1327,6 +1327,7 @@ const message = {
panelInstallDir: 'O diretório de instalação do 1Panel não pode ser excluído',
},
ssh: {
setting: 'configuração',
autoStart: 'Início automático',
enable: 'Habilitar início automático',
disable: 'Desabilitar início automático',

View File

@ -1329,6 +1329,7 @@ const message = {
panelInstallDir: 'Директорию установки 1Panel нельзя удалить',
},
ssh: {
setting: 'настройка',
autoStart: 'Автозапуск',
enable: 'Включить автозапуск',
disable: 'Отключить автозапуск',

View File

@ -1258,6 +1258,7 @@ const message = {
panelInstallDir: '1Panel 安裝目錄不能刪除',
},
ssh: {
setting: '設定',
autoStart: '開機自啟',
enable: '設定開機自啟',
disable: '關閉開機自啟',

View File

@ -1259,6 +1259,7 @@ const message = {
panelInstallDir: '1Panel 安装目录不能删除',
},
ssh: {
setting: '配置',
autoStart: '开机自启',
enable: '设置开机自启',
disable: '关闭开机自启',

View File

@ -12,7 +12,7 @@ import i18n from '@/lang';
const buttons = [
{
label: i18n.global.t('menu.settings', 2),
label: i18n.global.t('ssh.setting', 2),
path: '/hosts/ssh/ssh',
},
{

View File

@ -52,7 +52,7 @@
</el-card>
</div>
<LayoutContent style="margin-top: 20px" :title="$t('menu.settings', 2)" :divider="true">
<LayoutContent style="margin-top: 20px" :title="$t('ssh.setting')" :divider="true">
<template #main>
<el-radio-group v-model="confShowType" @change="changeMode">
<el-radio-button value="base">{{ $t('database.baseConf') }}</el-radio-button>