gemercheung 2 年之前
父節點
當前提交
0b6f6d6512
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      packages/qjkankan-editor/src/lang/_zh.json
  2. 2 2
      packages/qjkankan-editor/src/views/base/Toolbar.vue

+ 1 - 1
packages/qjkankan-editor/src/lang/_zh.json

@@ -76,7 +76,7 @@
       "title": "标题",
       "title_tips": "请填写标题",
       "title_require": "请添加标题({limit}字以内)",
-      "description": "简介",
+      "": "简介",
       "description_tips": "请填写简介",
       "link": "添加链接",
       "link_text_tips": "请填写链接文本",

+ 2 - 2
packages/qjkankan-editor/src/views/base/Toolbar.vue

@@ -59,11 +59,11 @@
                 ref="editor"
                 :html="info.description"
                 :placeholder="$i18n.t(`edit_settings.intro_placeholder`)"
-                :maxlength="1000"
+                :maxlength="2000"
                 @change="onEditorChange"
               ></editor>
 
-              <span class="count">{{ introLength }}/1000</span>
+              <span class="count">{{ introLength }}/2000</span>
             </div>
           </div>
         </div>