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:45:14 UTC
(answer) branch fix-install created (now 7deb97a4)
This is an automated email from the ASF dual-hosted git repository.
shuai pushed a change to branch fix-install
in repository https://gitbox.apache.org/repos/asf/answer.git
at 7deb97a4 fix: Installation of the fourth part of form validation error
This branch includes the following new commits:
new 7deb97a4 fix: Installation of the fourth part of form validation error
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(answer) 01/01: fix: Installation of the fourth part of form validation error
Posted by sh...@apache.org.
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 <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'),
};
}