You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by sh...@apache.org on 2026/01/29 08:50:31 UTC
(answer) 01/03: fix: Installation of the fourth part of form validation error
This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/answer.git
commit 50a96809d834e23e96205f70be8ebf36c98a5201
Author: shuai <li...@sifou.com>
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'),
};
}