From 19e4b4ce9d2c753820d91ed39aaffdbfd7d35404 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 13 四月 2025 19:03:02 +0800
Subject: [PATCH] Merge branch 'positec' into dms

---
 src/api/index.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/api/index.js b/src/api/index.js
index a15eb49..a49a84a 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -89,7 +89,7 @@
     notification.error({
       className: 'notification-custom-error',
       bottom: 0,
-      message: error.message.includes('Network Error') && lang === 'zh-CN' ? '缃戠粶杩炴帴澶辫触锛�' : error.message,
+      message: error.message.includes('Network Error') && sessionStorage.getItem('lang') === 'zh-CN' ? '缃戠粶杩炴帴澶辫触锛�' : error.message,
       placement: 'bottomRight',
       duration: 15
     })

--
Gitblit v1.8.0