Commit 8b5292d9 by 高淑倩

分享海报二维码报错

parent 562a1e21
...@@ -206,7 +206,8 @@ Component({ ...@@ -206,7 +206,8 @@ Component({
var test = ""; var test = "";
var empty = []; var empty = [];
for (var a = 0; a < rowPart.length; a++) { for (var a = 0; a < rowPart.length; a++) {
if (context.measureText(test).width < 220) { if (ctx.measureText(test).width < 220) {
// if (context.measureText(test).width < 220) {
test += rowPart[a]; test += rowPart[a];
} }
else { else {
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
"list": [] "list": []
}, },
"miniprogram": { "miniprogram": {
"current": 50, "current": 16,
"list": [ "list": [
{ {
"id": -1, "id": -1,
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
"id": 16, "id": 16,
"name": "商品详情页", "name": "商品详情页",
"pathName": "pages/productDetail/productDetail", "pathName": "pages/productDetail/productDetail",
"query": "id=613430263048966144", "query": "id=636986178138152960",
"scene": null "scene": null
}, },
{ {
......
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