Explorar o código

图像识别页面优化

zhujindu hai 9 meses
pai
achega
1c9af3af52
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/components/uploadImgVStore.vue

+ 3 - 0
src/components/uploadImgVStore.vue

@@ -117,7 +117,10 @@ export default {
         this.$toast('请输入名称!');
         return;
       }
+      console.log(this.wx);
+      console.log(this.wx.ready);
       this.wx.ready(() => {
+        console.log(this.wx.chooseImage);
         this.wx.chooseImage({
           count: this.count,
           sizeType: ['compressed'], // 可以指定是原图还是压缩图,默认二者都有