From 503804a6126b42fc372270c232d0d4c25c086315 Mon Sep 17 00:00:00 2001 From: yvan.ni <765199919@qq.com> Date: Fri, 27 Sep 2019 18:31:39 +0800 Subject: [PATCH] 默认选择一张图片 --- pages/user/add_comment/add_comment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/user/add_comment/add_comment.js b/pages/user/add_comment/add_comment.js index 5d0da9a..31fd533 100644 --- a/pages/user/add_comment/add_comment.js +++ b/pages/user/add_comment/add_comment.js @@ -159,7 +159,7 @@ Page({ var imgs = this.data.imgs; wx.chooseImage({ - // count: 1, // 默认9 + count: 1, // 默认9 sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有 sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有 success: function (res) { -- libgit2 0.21.4