Skip to content

Commit 7deb97a

Browse files
author
shuai
committed
fix: Installation of the fourth part of form validation error
1 parent a08c124 commit 7deb97a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • ui/src/pages/Install/components/FourthStep

ui/src/pages/Install/components/FourthStep/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const Index: FC<Props> = ({ visible, data, changeCallback, nextCallback }) => {
5858

5959
if (site_name.value && site_name.value.length > 30) {
6060
bol = false;
61-
data.site_url = {
61+
data.site_name = {
6262
value: site_name.value,
6363
isInvalid: true,
6464
errorMsg: t('site_name.msg_max_length'),
@@ -70,7 +70,7 @@ const Index: FC<Props> = ({ visible, data, changeCallback, nextCallback }) => {
7070
data.site_url = {
7171
value: '',
7272
isInvalid: true,
73-
errorMsg: t('site_name.msg.empty'),
73+
errorMsg: t('site_url.msg.empty'),
7474
};
7575
}
7676

0 commit comments

Comments
 (0)