From 45eb50fd77ad91a7cce4b68a4e1924f71b0938fa Mon Sep 17 00:00:00 2001 From: vincentlu <t1341870251@gmail.com> Date: 星期二, 11 二月 2025 13:14:10 +0800 Subject: [PATCH] # --- rsf-admin/src/i18n/zh.js | 5 ++++- rsf-admin/src/i18n/en.js | 5 ++++- rsf-admin/src/page/dashboard/index.jsx | 6 +++++- rsf-admin/src/page/tenant/TenantCreate.jsx | 2 -- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/rsf-admin/src/i18n/en.js b/rsf-admin/src/i18n/en.js index f6d8b77..d3640ec 100644 --- a/rsf-admin/src/i18n/en.js +++ b/rsf-admin/src/i18n/en.js @@ -221,7 +221,10 @@ } }, page: { - welcome: ' Welcome to the RSF Management System.', + welcome: { + index: ' Welcome to the RSF Management System.', + tech: ' Technology stack: Java 17, SpringBoot2.5.3, Mybatis-plus_3.4.1, Spring Security, Druid 1.2.6, Redis, Mysql5.7, Node18, ReactJs, Material UI5.16, Axios, React-Admin5.1' + }, login: { title: 'Welcome', footer: 'Footer Goes Here', diff --git a/rsf-admin/src/i18n/zh.js b/rsf-admin/src/i18n/zh.js index 8ce6aa2..4b5ae98 100644 --- a/rsf-admin/src/i18n/zh.js +++ b/rsf-admin/src/i18n/zh.js @@ -221,7 +221,10 @@ } }, page: { - welcome: ' 娆㈣繋浣跨敤RSF绠$悊绯荤粺', + welcome: { + index: ' 娆㈣繋浣跨敤RSF绠$悊绯荤粺', + tech: ' 鎶�鏈爤: Java17, SpringBoot2.5.3, Mybatis-plus_3.4.1, Spring Security, Druid 1.2.6, Redis, Mysql5.7, Node18, ReactJs, Material UI5.16, Axios, React-Admin5.1' + }, login: { title: '娆㈣繋浣跨敤', footer: 'Footer Goes Here', diff --git a/rsf-admin/src/page/dashboard/index.jsx b/rsf-admin/src/page/dashboard/index.jsx index 9c22ac1..977c941 100644 --- a/rsf-admin/src/page/dashboard/index.jsx +++ b/rsf-admin/src/page/dashboard/index.jsx @@ -31,7 +31,11 @@ }} > <WordEffect - words={translate('page.welcome')} + words={translate('page.welcome.index')} + color={theme.palette.mode === 'light' ? '#666' : '#eeeeee'} + /> + <WordEffect + words={translate('page.welcome.tech')} color={theme.palette.mode === 'light' ? '#666' : '#eeeeee'} /> </div> diff --git a/rsf-admin/src/page/tenant/TenantCreate.jsx b/rsf-admin/src/page/tenant/TenantCreate.jsx index 97234bd..94013a4 100644 --- a/rsf-admin/src/page/tenant/TenantCreate.jsx +++ b/rsf-admin/src/page/tenant/TenantCreate.jsx @@ -87,8 +87,6 @@ const onSubmit = (data) => { request.post('/tenant/init', data).then(res => { const { code, msg, data } = res.data; - console.log(msg); - if (code === 200) { notify(msg, { type: 'success', messageArgs: { _: msg } }); setOpen(false); -- Gitblit v1.9.1