A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: Installation of the fourth part of form validation error
shuai50a96809d834
diff --git a/ui/src/pages/Install/components/FourthStep/index.tsx b/ui/src/pages/Install/components/FourthStep/index.tsxindex 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'),};}