Browse Source

图像识别页面优化

zhujindu 9 months ago
parent
commit
1c9af3af52
1 changed files with 3 additions and 0 deletions
  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'], // 可以指定是原图还是压缩图,默认二者都有