Commit b5ce1409 authored by shirlyn.guo's avatar shirlyn.guo 🤡

chore: 输入框显示输入字数以及限制长度

parent a92458b0
......@@ -137,10 +137,20 @@ function onModalAfterLeave() {
:rules="customizationInfoFormRules"
>
<n-form-item label="公司名稱" path="companyName">
<n-input v-model:value="customizationInfoForm.companyName" placeholder="請輸入公司名稱" />
<n-input
v-model:value="customizationInfoForm.companyName"
placeholder="請輸入公司名稱"
maxlength="50"
show-count
/>
</n-form-item>
<n-form-item label="聯系人姓名" path="contactName">
<n-input v-model:value="customizationInfoForm.contactName" placeholder="請輸入聯系人姓名" />
<n-input
v-model:value="customizationInfoForm.contactName"
placeholder="請輸入聯系人姓名"
maxlength="50"
show-count
/>
</n-form-item>
<n-form-item label="聯系方式" path="contactInformation">
<n-input
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment