tanyanfei 4 년 전
부모
커밋
9f93e4892a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      pages/upload/upload.js

+ 1 - 0
pages/upload/upload.js

@@ -170,6 +170,7 @@ Page({
     })
     var today_stock_img = this.data.today_stock_img;
     wx.chooseImage({
+      count:1,
       success: res=> {
         const tempFilePaths = res.tempFilePaths
         wx.uploadFile({