From 14f0ef096f8b1761a0e8a05ca2c2bf19aa97becd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=93=E5=B9=B3=E8=89=BA?= <52643018@qq.com> Date: Sat, 17 Jul 2021 15:03:45 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BC=98=E5=8C=96]=20=E5=95=86=E5=93=81?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5=E7=94=9F=E6=88=90=E6=B5=B7=E6=8A=A5?= =?UTF-8?q?=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goodsDetail/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/goodsDetail/index.vue b/pages/goodsDetail/index.vue index 6408830..96f8e42 100644 --- a/pages/goodsDetail/index.vue +++ b/pages/goodsDetail/index.vue @@ -102,7 +102,7 @@ - + @@ -279,7 +279,7 @@ }, createNewImg() { var that = this; - var context = uni.createCanvasContext('mycanvas'); + var context = uni.createCanvasContext('mycanvas', this); let goods = that.goods_detail; let title = goods.name; let price = '¥'+goods.specs[0].selling_price;