pref: 优化远程数据库解绑提示信息 (#5850)

pull/5851/head
ssongliu 4 months ago committed by GitHub
parent 3c0dc7459c
commit cae0a6118f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save