From 2bccb9ec7bdefe23292a22bc153463cfa1479a49 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 21 六月 2024 16:25:42 +0800 Subject: [PATCH] 2024-06-21 --- src/views/login/index.jsx | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/views/login/index.jsx b/src/views/login/index.jsx index b94807a..3361a92 100644 --- a/src/views/login/index.jsx +++ b/src/views/login/index.jsx @@ -654,6 +654,12 @@ if (res.lang_translation_js && res.lang_data && res.lang_data[0] && (res.lang_data.length > 1 || res.lang_data[0].Lang !== 'zh-CN')) { let lang = sessionStorage.getItem('lang') let js_trans = res.lang_translation_js.map(item => { + if (['not_empty', 'not_zero', 'max_limit', 'less_limit']) { + item.translation = ' ' + item.translation + } + if (['input_tip', 'select_tip', 'max_limit', 'less_limit']) { + item.translation = item.translation + ' ' + } if (lang === item.lang) { window.GLOB.dict[item.msn_code] = item.translation } -- Gitblit v1.8.0