瀏覽代碼

图像识别页面优化

zhujindu 9 月之前
父節點
當前提交
1c9af3af52
共有 1 個文件被更改,包括 3 次插入0 次删除
  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'], // 可以指定是原图还是压缩图,默认二者都有