|
@@ -187,6 +187,15 @@ export default {
|
|
|
url: this.fetch.pic[this.swiperIndex],
|
|
|
success: (res) => {
|
|
|
if (res.statusCode === 200) {
|
|
|
+ console.info(uni.getImageInfo({src:res.tempFilePath}));
|
|
|
+ uni.getImageInfo({
|
|
|
+ src: res.tempFilePath,
|
|
|
+ success: function (image) {
|
|
|
+ console.log(image.width);
|
|
|
+ console.log(image.height);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ return;
|
|
|
ctx.drawImage(res.tempFilePath, 0, 0, 375, 375);
|
|
|
uni.downloadFile({
|
|
|
url: this.fetch.info.qrcode,
|