From 49696adc5a352be53bf5d5bbf1fafa23968b5e7c Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期一, 08 六月 2020 14:02:36 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/matCode/matCode.js | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/static/js/matCode/matCode.js b/src/main/webapp/static/js/matCode/matCode.js index 2340b15..85f7dfc 100644 --- a/src/main/webapp/static/js/matCode/matCode.js +++ b/src/main/webapp/static/js/matCode/matCode.js @@ -339,9 +339,8 @@ if (res.code === 200){ layer.closeAll(); for (let i=0;i<res.data.length;i++){ - res.data[i].barcodeUrl=baseUrl+"/macCode/barcode/auth?param="+res.data[i].barcodeUrl; + res.data[i]["barcodeUrl"]=baseUrl+"/macCode/barcode/auth?param="+res.data[i].barcode; } - console.log(res.data); var tpl = $("#templatePreview"+templateNo).html(); var template = Handlebars.compile(tpl); var html = template(res); -- Gitblit v1.9.1