1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 08:19:15 +08:00

feat: 限制默认文档的提交

This commit is contained in:
zhengkunwang223 2023-03-02 17:45:39 +08:00 committed by ssongliu
parent 0ec65c3e24
commit 2d7215308e

View File

@ -4,7 +4,7 @@
<el-form ref="defaultForm" label-position="top" :model="defaultModel" :rules="rules">
<el-form-item :label="$t('website.defaultDoc')" prop="index">
<el-input
v-model="defaultModel.index"
v-model.trim="defaultModel.index"
type="textarea"
:autosize="{ minRows: 8, maxRows: 20 }"
></el-input>