tangning пре 18 часа
родитељ
комит
639b832431
2 измењених фајлова са 5 додато и 0 уклоњено
  1. 3 0
      src/view/case/photos/canvas-photo-editor.js
  2. 2 0
      src/view/case/photos/index.vue

+ 3 - 0
src/view/case/photos/canvas-photo-editor.js

@@ -242,6 +242,9 @@ export class CanvasPhotoEditor {
           if (!value) {
             return false;
           }
+          if (val.length > 100) {
+            return '长度不能超过100个字符'
+          }
           return true;
         },
         inputErrorMessage: "请输入说明",

+ 2 - 0
src/view/case/photos/index.vue

@@ -47,6 +47,7 @@
         </span>
         <i
           class="iconfont icon-screen_f"
+          :class="{ disable: indexing }"
           @click="toggleFullScreen"
           title="适应视图"
           style="margin-right: 5px"
@@ -123,6 +124,7 @@
           </div>
           <i
             @click="exportToPDF"
+            :class="{ disable: indexing }"
             title="导出"
             class="iconfont icon-download"
             style="margin-right: 24px"