mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 08:19:15 +08:00
feat: 修改复制动作提示
This commit is contained in:
parent
b7ddb6fd42
commit
53d0b45f8a
@ -728,7 +728,8 @@ export default {
|
||||
downloadSuccess: 'Download succeeded',
|
||||
downloadUrl: 'Download URL',
|
||||
downloadStart: 'Download start!',
|
||||
moveStart: 'Move successfully',
|
||||
moveSuccess: 'Move success',
|
||||
copySuccess: 'Copy success',
|
||||
move: 'Move',
|
||||
copy: 'Copy',
|
||||
calculate: 'Calculate',
|
||||
|
@ -733,7 +733,8 @@ export default {
|
||||
downloadSuccess: '下载成功',
|
||||
downloadUrl: '下载地址',
|
||||
downloadStart: '下载开始!',
|
||||
moveStart: '移动成功',
|
||||
moveSuccess: '移动成功',
|
||||
copySuccess: '复制成功',
|
||||
move: '移动',
|
||||
copy: '复制',
|
||||
calculate: '计算',
|
||||
|
@ -92,7 +92,12 @@ const submit = async (formEl: FormInstance | undefined) => {
|
||||
loading.value = true;
|
||||
MoveFile(addForm)
|
||||
.then(() => {
|
||||
MsgSuccess(i18n.global.t('file.moveStart'));
|
||||
if (type.value === 'cut') {
|
||||
MsgSuccess(i18n.global.t('file.moveSuccess'));
|
||||
} else {
|
||||
MsgSuccess(i18n.global.t('file.copySuccess'));
|
||||
}
|
||||
|
||||
handleClose();
|
||||
})
|
||||
.finally(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user