sunchengjie 9 kuukautta sitten
vanhempi
commit
f84a49182b
1 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  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);