Commit 9a6392383669eb96bc29db7926d4fb6c01d3bb02
1 parent
1ae1cf35
选择避免重复提交
Showing
1 changed file
with
0 additions
and
3 deletions
packageD/pages/AI-test-skin/shoot_notice/shoot_notice.js
@@ -166,8 +166,6 @@ Page({ | @@ -166,8 +166,6 @@ Page({ | ||
166 | src: img, | 166 | src: img, |
167 | success(res) { | 167 | success(res) { |
168 | 168 | ||
169 | - | ||
170 | - | ||
171 | var ratio = size / 1024; | 169 | var ratio = size / 1024; |
172 | size1 = size1 / ratio; | 170 | size1 = size1 / ratio; |
173 | var canvasWidth = res.width //图片原始长宽 | 171 | var canvasWidth = res.width //图片原始长宽 |
@@ -193,7 +191,6 @@ Page({ | @@ -193,7 +191,6 @@ Page({ | ||
193 | fileType: 'jpg', | 191 | fileType: 'jpg', |
194 | success: function (res) { | 192 | success: function (res) { |
195 | wx.hideLoading(); | 193 | wx.hideLoading(); |
196 | - that.setData({selecting:0}) | ||
197 | that.setData({ | 194 | that.setData({ |
198 | canvasImgUrl: res.tempFilePath | 195 | canvasImgUrl: res.tempFilePath |
199 | }); | 196 | }); |