perf: 欢迎语增加字数限制

This commit is contained in:
wangdan-fit2cloud 2024-07-24 11:00:19 +08:00
parent fa497053ad
commit 6874b81639
3 changed files with 8 additions and 3 deletions

View File

@ -50,7 +50,7 @@
</template>
<el-input
v-model="base_form_data.name"
maxlength="20"
maxlength="64"
show-word-limit
placeholder="请给基础模型设置一个名称"
/>

View File

@ -43,7 +43,7 @@
</template>
<el-input
v-model="base_form_data.name"
maxlength="20"
maxlength="64"
show-word-limit
placeholder="请给基础模型设置一个名称"
/>

View File

@ -108,7 +108,12 @@
<el-text type="info"> 显示在网页 Tab 的平台名称 </el-text>
</el-form-item>
<el-form-item label="欢迎语" prop="slogan">
<el-input v-model="themeForm.slogan" placeholder="请输入欢迎语">
<el-input
v-model="themeForm.slogan"
placeholder="请输入欢迎语"
maxlength="64"
show-word-limit
>
</el-input>
<el-text type="info"> 产品 Logo 下的 欢迎语 </el-text>
</el-form-item>