mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-11-11 12:10:45 +08:00
pref: 优化远程数据库解绑提示信息 (#5850)
This commit is contained in:
parent
3c0dc7459c
commit
cae0a6118f
9 changed files with 9 additions and 6 deletions
|
|
@ -69,6 +69,7 @@ const message = {
|
||||||
createNewFolder: 'Create new folder',
|
createNewFolder: 'Create new folder',
|
||||||
createNewFile: 'Create new file',
|
createNewFile: 'Create new file',
|
||||||
helpDoc: 'Help Document',
|
helpDoc: 'Help Document',
|
||||||
|
unbind: 'UnBind',
|
||||||
},
|
},
|
||||||
search: {
|
search: {
|
||||||
timeStart: 'Time start',
|
timeStart: 'Time start',
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,7 @@ const message = {
|
||||||
createNewFolder: '新建資料夾',
|
createNewFolder: '新建資料夾',
|
||||||
createNewFile: '新建檔案',
|
createNewFile: '新建檔案',
|
||||||
helpDoc: '幫助文档',
|
helpDoc: '幫助文档',
|
||||||
|
unbind: '解綁',
|
||||||
},
|
},
|
||||||
search: {
|
search: {
|
||||||
timeStart: '開始時間',
|
timeStart: '開始時間',
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,7 @@ const message = {
|
||||||
createNewFolder: '新建文件夹',
|
createNewFolder: '新建文件夹',
|
||||||
createNewFile: '新建文件',
|
createNewFile: '新建文件',
|
||||||
helpDoc: '帮助文档',
|
helpDoc: '帮助文档',
|
||||||
|
unbind: '解绑',
|
||||||
},
|
},
|
||||||
search: {
|
search: {
|
||||||
timeStart: '开始时间',
|
timeStart: '开始时间',
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ const submit = async () => {
|
||||||
.then(() => {
|
.then(() => {
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
emit('search');
|
emit('search');
|
||||||
MsgSuccess(i18n.global.t('commons.msg.deleteSuccess'));
|
MsgSuccess(i18n.global.t('commons.msg.operationSuccess'));
|
||||||
dialogVisible.value = false;
|
dialogVisible.value = false;
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
|
|
|
||||||
|
|
@ -163,7 +163,7 @@ const buttons = [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: i18n.global.t('commons.button.delete'),
|
label: i18n.global.t('commons.button.unbind'),
|
||||||
click: (row: Database.DatabaseInfo) => {
|
click: (row: Database.DatabaseInfo) => {
|
||||||
onDelete(row);
|
onDelete(row);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ const submit = async () => {
|
||||||
.then(() => {
|
.then(() => {
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
emit('search');
|
emit('search');
|
||||||
MsgSuccess(i18n.global.t('commons.msg.deleteSuccess'));
|
MsgSuccess(i18n.global.t('commons.msg.operationSuccess'));
|
||||||
dialogVisible.value = false;
|
dialogVisible.value = false;
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
|
|
|
||||||
|
|
@ -163,7 +163,7 @@ const buttons = [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: i18n.global.t('commons.button.delete'),
|
label: i18n.global.t('commons.button.unbind'),
|
||||||
click: (row: Database.DatabaseInfo) => {
|
click: (row: Database.DatabaseInfo) => {
|
||||||
onDelete(row);
|
onDelete(row);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ const submit = async () => {
|
||||||
.then(() => {
|
.then(() => {
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
emit('search');
|
emit('search');
|
||||||
MsgSuccess(i18n.global.t('commons.msg.deleteSuccess'));
|
MsgSuccess(i18n.global.t('commons.msg.operationSuccess'));
|
||||||
dialogVisible.value = false;
|
dialogVisible.value = false;
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
|
|
|
||||||
|
|
@ -163,7 +163,7 @@ const buttons = [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: i18n.global.t('commons.button.delete'),
|
label: i18n.global.t('commons.button.unbind'),
|
||||||
click: (row: Database.DatabaseInfo) => {
|
click: (row: Database.DatabaseInfo) => {
|
||||||
onDelete(row);
|
onDelete(row);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue