Parcourir la source

小问题修改

zhaozhipeng il y a 1 an
Parent
commit
3417381a0b

+ 1 - 1
src/views/modules/knowledge/warehouse/contentData.vue

@@ -152,7 +152,7 @@ export default {
       pageNum3:1,
       total:2,
       pageSize:10,
-      tapArr:['','我的审批','我的上传','我的草稿'],
+      tapArr:['','待被审批','我的上传','我的草稿'],
       number0:0,
       number1:0,
       number2:0,

+ 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="20" v-model="knowledgeForm.titles" placeholder="请输入" >
+          <a-input @change='titlesChange' class="addItemBox" :maxLength="40" v-model="knowledgeForm.titles" placeholder="请输入" >
             <div slot="suffix" style="color: #C0C0C0;">
               {{titlesNum}}
             </div>
@@ -155,7 +155,7 @@ export default {
       add,
       wordIcon,
       pkId: '',
-      titlesNum:20,
+      titlesNum:40,
       summaryNum:100,
       knowledgeForm: {
         categoryId: [],
@@ -452,7 +452,7 @@ export default {
     },
     //  title修改限制数量
     titlesChange(){
-      this.titlesNum=20-this.knowledgeForm.titles.length
+      this.titlesNum=40-this.knowledgeForm.titles.length
     },
     //  简介修改限制数量
     summaryChange(){