|
@@ -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);
|