<Textarea
type="text"
pattern="\d*"
maxLength="5000"
value={brandBriefIntroduction}
onFocus={() => {
checkkpNamePhone(false);
}}
onChange={(e) => {
changeInput('brandBriefIntroduction', e.target.value);
}}
placeholder="不多于5000 字"
className={`textArea form-control${brandBriefIntroduction.length > 4999 ? ' error' : '' }`}
/>
{
brandBriefIntroduction.length > 4999
&& <span className="error-wrapper">不多于5000字</span>
}
<div
className="restriContentLabel"
>
(0/500)
</div>
height: 160px;
width: 543px;
overflow: auto !important;
resize: none !important;