Jelajahi Sumber

小问题修改

zhaozhipeng 1 tahun lalu
induk
melakukan
15ca4e4472

+ 3 - 3
src/views/modules/knowledge/warehouse/knowledgeAddUpdate.vue

@@ -30,7 +30,7 @@
           </a-select>
         </a-form-model-item>
         <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;">
               {{titlesNum}}
             </div>
@@ -155,7 +155,7 @@ export default {
       add,
       wordIcon,
       pkId: '',
-      titlesNum:40,
+      titlesNum:60,
       summaryNum:100,
       knowledgeForm: {
         categoryId: [],
@@ -452,7 +452,7 @@ export default {
     },
     //  title修改限制数量
     titlesChange(){
-      this.titlesNum=40-this.knowledgeForm.titles.length
+      this.titlesNum=60-this.knowledgeForm.titles.length
     },
     //  简介修改限制数量
     summaryChange(){