Commit a3d9ea5f by 高淑倩

分享报错

parent 6880e46f
...@@ -190,7 +190,7 @@ Component({ ...@@ -190,7 +190,7 @@ Component({
ctx.setTextAlign('left'); ctx.setTextAlign('left');
ctx.fillText(that.data.productDesc, 61, 300); ctx.fillText(that.data.productDesc, 61, 300);
}else{ }else{
let explain = JSON.parse(that.data.cardExplain) let explain = JSON.parse(JSON.stringify(that.data.cardExplain))
if (explain[0]){ if (explain[0]){
ctx.setFontSize(12); ctx.setFontSize(12);
ctx.setFillStyle('#333333'); ctx.setFillStyle('#333333');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment