From 539a56279625242c497b4b4093f2defbb9d80334 Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期四, 29 一月 2026 14:05:44 +0800
Subject: [PATCH] #i18n翻译
---
src/main/webapp/static/js/trayCode/trayCode.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/webapp/static/js/trayCode/trayCode.js b/src/main/webapp/static/js/trayCode/trayCode.js
index e9aa0d6..0018c8d 100644
--- a/src/main/webapp/static/js/trayCode/trayCode.js
+++ b/src/main/webapp/static/js/trayCode/trayCode.js
@@ -309,10 +309,10 @@
for (let i=0;i<res.data.length;i++){
if (data.field.type === '1') {
res.data[i]["barcodeUrl"]=baseUrl+"/file/barcode/qrcode/auth?" +
- "type="+data.field.type+"¶m="+res.data[i].item+"&width="+200+"&height="+100;
+ "type="+data.field.type+"¶m="+res.data[i].item+"&width="+200+"&height="+90;
} else {
res.data[i]["barcodeUrl"]=baseUrl+"/file/barcode/qrcode/auth?" +
- "type="+data.field.type+"¶m="+res.data[i].item+"&width="+400+"&height="+200;
+ "type="+data.field.type+"¶m="+res.data[i].item+"&width="+400+"&height="+180;
}
}
var tpl = $('#trayCodeTemplate').html();
@@ -334,7 +334,7 @@
if (res.code === 200){
layer.closeAll();
$(".layui-laypage-btn")[0].click();
- layer.msg("鎿嶄綔鎴愬姛")
+ layer.msg(typeof I18n !== 'undefined' ? I18n.t('response.operation_success') : '鎿嶄綔鎴愬姛', {icon: 1})
} else if (res.code === 403){
top.location.href = baseUrl+"/";
} else {
--
Gitblit v1.9.1