固定textarea字体大小

This commit is contained in:
al 2024-11-15 15:51:26 +08:00
parent fa72994ba1
commit b175252714
1 changed files with 2 additions and 0 deletions

View File

@ -652,6 +652,7 @@ export default function EditHome() {
<TextArea <TextArea
value={formData.info} value={formData.info}
placeholder="点此输入,文案将在“主页”展示" placeholder="点此输入,文案将在“主页”展示"
style={{ "--font-size": "16px" }}
onChange={(value) => onChange={(value) =>
setFormData((old) => ({ ...old, info: value })) setFormData((old) => ({ ...old, info: value }))
} }
@ -670,6 +671,7 @@ export default function EditHome() {
<TextArea <TextArea
value={formData.autoResponse} value={formData.autoResponse}
placeholder="文案将自动发送给点开私信的用户" placeholder="文案将自动发送给点开私信的用户"
style={{ "--font-size": "16px" }}
onChange={(value) => onChange={(value) =>
setFormData((old) => ({ ...old, autoResponse: value })) setFormData((old) => ({ ...old, autoResponse: value }))
} }