sunchengjie 9 mesiacov pred
rodič
commit
f84a49182b
1 zmenil súbory, kde vykonal 8 pridanie a 0 odobranie
  1. 8 0
      src/pages/new/sureCombine.vue

+ 8 - 0
src/pages/new/sureCombine.vue

@@ -167,6 +167,14 @@ export default {
                 this.hasContent = false;
                 return
             }
+            if(this.lastclick == '') {
+                console.log('222222')
+                this.isPhotoOrsize = '图片'
+                this.currentSelect = "请选择照片或签字板"
+                this.context.clearRect(0, 0, this.width, this.height);  
+                this.hasContent = false;
+                return
+            }
             this.isPhotoOrsize = '图片'
             this.currentSelect = "签字板"
             this.context.clearRect(0, 0, this.width, this.height);