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({