|
@@ -180,8 +180,8 @@ const CopyPage: React.FC<Props> = ({ accountId, pageData, visible, onChange, onC
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- required: true, message: '请确保落地页名称长度不超过40个字', validator(_, value) {
|
|
|
- if (value && txtLength(value) > 40) {
|
|
|
+ required: true, message: '请确保落地页名称长度不超过30个字', validator(_, value) {
|
|
|
+ if (value && txtLength(value) > 30) {
|
|
|
return Promise.reject()
|
|
|
}
|
|
|
return Promise.resolve()
|
|
@@ -189,7 +189,7 @@ const CopyPage: React.FC<Props> = ({ accountId, pageData, visible, onChange, onC
|
|
|
}
|
|
|
]}
|
|
|
>
|
|
|
- <InputName placeholder='落地页名称' style={{ width: 680 }} length={40} />
|
|
|
+ <InputName placeholder='落地页名称' style={{ width: 680 }} length={30} />
|
|
|
</Form.Item>
|
|
|
</Card>
|
|
|
|