From d907a822a940c7ec0fb7de0ca845472bda52229b Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期二, 03 二月 2026 14:33:12 +0800
Subject: [PATCH] #pda料箱组托和换码

---
 src/main/webapp/views/detail.html |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/views/detail.html b/src/main/webapp/views/detail.html
index f2aa02f..cd7040a 100644
--- a/src/main/webapp/views/detail.html
+++ b/src/main/webapp/views/detail.html
@@ -118,7 +118,7 @@
                 } else if (res.code === 403){
                     top.location.href = baseUrl+"/";
                 } else {
-                    layer.msg(res.msg);
+                    layer.msg(typeof I18n !== 'undefined' ? I18n.t(res.msg) : res.msg, {icon: 2});
                 }
             }
         });
@@ -154,13 +154,13 @@
                     method: 'POST',
                     success: function (res) {
                         if (res.code === 200){
-                            layer.msg(res.msg);
+                            layer.msg(typeof I18n !== 'undefined' ? I18n.t(res.msg) : res.msg, {icon: 2});
                             localStorage.setItem("username", user.username);
                             parent.$('#person-username').text(localStorage.getItem('username'));
                         } else if (res.code === 403){
                             top.location.href = baseUrl+"/";
                         } else {
-                            layer.msg(res.msg);
+                            layer.msg(typeof I18n !== 'undefined' ? I18n.t(res.msg) : res.msg, {icon: 2});
                         }
                     }
                 });

--
Gitblit v1.9.1