diff --git a/compontent/public/camera.vue b/compontent/public/camera.vue index 36a4805..71489e3 100644 --- a/compontent/public/camera.vue +++ b/compontent/public/camera.vue @@ -1,7 +1,7 @@ @@ -30,8 +30,8 @@ //type是一个页面有两个照相的时候做个类型区分 type.value = options.type if(options.size){ - width.value = 1500; - height.value = 1000; + width.value =options.width?options.width: 1500; + height.value = options.height?options.height:1000; } }); \ No newline at end of file diff --git a/pages/addjigou/all.vue b/pages/addjigou/all.vue index 8e3e859..688eb9c 100644 --- a/pages/addjigou/all.vue +++ b/pages/addjigou/all.vue @@ -130,11 +130,26 @@ @@ -116,13 +119,51 @@