This is an automated email from the ASF dual-hosted git repository. shuai pushed a commit to branch fix-install in repository https://gitbox.apache.org/repos/asf/answer.git
commit 7deb97a4df3a014436f67a1935a5789531f5b35f Author: shuai <[email protected]> AuthorDate: Thu Jan 29 16:44:42 2026 +0800 fix: Installation of the fourth part of form validation error --- ui/src/pages/Install/components/FourthStep/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/pages/Install/components/FourthStep/index.tsx b/ui/src/pages/Install/components/FourthStep/index.tsx index 776053c6..a6082b26 100644 --- a/ui/src/pages/Install/components/FourthStep/index.tsx +++ b/ui/src/pages/Install/components/FourthStep/index.tsx @@ -58,7 +58,7 @@ const Index: FC<Props> = ({ visible, data, changeCallback, nextCallback }) => { if (site_name.value && site_name.value.length > 30) { bol = false; - data.site_url = { + data.site_name = { value: site_name.value, isInvalid: true, errorMsg: t('site_name.msg_max_length'), @@ -70,7 +70,7 @@ const Index: FC<Props> = ({ visible, data, changeCallback, nextCallback }) => { data.site_url = { value: '', isInvalid: true, - errorMsg: t('site_name.msg.empty'), + errorMsg: t('site_url.msg.empty'), }; }
