|
@@ -30,7 +30,7 @@
|
|
</a-select>
|
|
</a-select>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
<a-form-model-item class="knowledgeAddUpdateLabel oneline" label="知识标题:" prop="titles" style="width:46.04vw;margin-top: -5px;">
|
|
<a-form-model-item class="knowledgeAddUpdateLabel oneline" label="知识标题:" prop="titles" style="width:46.04vw;margin-top: -5px;">
|
|
- <a-input @change='titlesChange' class="addItemBox" :maxLength="40" v-model="knowledgeForm.titles" placeholder="请输入" >
|
|
|
|
|
|
+ <a-input @change='titlesChange' class="addItemBox" :maxLength="60" v-model="knowledgeForm.titles" placeholder="请输入" >
|
|
<div slot="suffix" style="color: #C0C0C0;">
|
|
<div slot="suffix" style="color: #C0C0C0;">
|
|
{{titlesNum}}
|
|
{{titlesNum}}
|
|
</div>
|
|
</div>
|
|
@@ -155,7 +155,7 @@ export default {
|
|
add,
|
|
add,
|
|
wordIcon,
|
|
wordIcon,
|
|
pkId: '',
|
|
pkId: '',
|
|
- titlesNum:40,
|
|
|
|
|
|
+ titlesNum:60,
|
|
summaryNum:100,
|
|
summaryNum:100,
|
|
knowledgeForm: {
|
|
knowledgeForm: {
|
|
categoryId: [],
|
|
categoryId: [],
|
|
@@ -452,7 +452,7 @@ export default {
|
|
},
|
|
},
|
|
// title修改限制数量
|
|
// title修改限制数量
|
|
titlesChange(){
|
|
titlesChange(){
|
|
- this.titlesNum=40-this.knowledgeForm.titles.length
|
|
|
|
|
|
+ this.titlesNum=60-this.knowledgeForm.titles.length
|
|
},
|
|
},
|
|
// 简介修改限制数量
|
|
// 简介修改限制数量
|
|
summaryChange(){
|
|
summaryChange(){
|