From 627e6852dbc78d1547e8ef65f0ca9062fa4da2e7 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Wed, 11 Feb 2026 15:06:58 +0800 Subject: [PATCH] chore: Modify FTP account deletion prompt (#11873) --- frontend/src/views/home/index.vue | 2 +- frontend/src/views/toolbox/ftp/index.vue | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/home/index.vue b/frontend/src/views/home/index.vue index cdd1bd65b..48a716067 100644 --- a/frontend/src/views/home/index.vue +++ b/frontend/src/views/home/index.vue @@ -167,7 +167,7 @@ { MsgSuccess(i18n.global.t('commons.msg.operationSuccess')); }; -const onOpenDialog = async (title: string, rowData: Partial = {}) => { +const onOpenDialog = async ( + title: string, + rowData: Partial = { + password: getRandomStr(12), + }, +) => { let params = { title, rowData: { ...rowData }, @@ -306,7 +312,7 @@ const onDelete = async (row: Toolbox.FtpInfo | null) => { title: i18n.global.t('commons.button.delete'), names: names, msg: i18n.global.t('commons.msg.operatorHelper', [ - i18n.global.t('menu.cronjob'), + i18n.global.t('website.ftpUser'), i18n.global.t('commons.button.delete'), ]), api: null,