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/role/rolePower.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/webapp/static/js/role/rolePower.js b/src/main/webapp/static/js/role/rolePower.js
index 212e2ba..a1279d4 100644
--- a/src/main/webapp/static/js/role/rolePower.js
+++ b/src/main/webapp/static/js/role/rolePower.js
@@ -65,7 +65,7 @@
success: function (res) {
if (res.code === 200){
parent.layer.closeAll();
- parent.layer.msg(res.msg);
+ parent.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