Bläddra i källkod

小问题修改

zhaozhipeng 1 år sedan
förälder
incheckning
0b2cd627e8
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      src/views/modules/knowledge/warehouse/knowledgeAddUpdate.vue

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

@@ -45,7 +45,7 @@
                 </a-select>
               </a-form-model-item>
               <a-form-model-item label="*知识标题:" prop="titles">
-                <a-input v-model="knowledgeForm.titles" placeholder="请输入" :disabled="!!pkId" :maxLength="40"  @change='titlesChange'>
+                <a-input v-model="knowledgeForm.titles" placeholder="请输入" :disabled="!!pkId" :maxLength="60"  @change='titlesChange'>
                   <div v-if="!pkId" slot="suffix" style="color: #C0C0C0;">
                     {{ titlesNum }}
                   </div>
@@ -304,7 +304,7 @@ export default {
       widthVar: 800,
       organizationIdsInfo: {},
       isAuth: false,
-      titlesNum: 40
+      titlesNum: 60
     }
   },
   created() {
@@ -427,7 +427,7 @@ export default {
   methods: {
     //  title修改限制数量
     titlesChange(){
-      this.titlesNum=40-this.knowledgeForm.titles.length
+      this.titlesNum=60-this.knowledgeForm.titles.length
     },
     handleAuthClickshow() {
       if(this.isAuth) {