diff --git a/frontend/src/views/home/index.vue b/frontend/src/views/home/index.vue index cdd1bd65be75..48a71606706e 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,