From 7030473b39530928208accdc6c74fbbfe58b1588 Mon Sep 17 00:00:00 2001 From: naibo Date: Tue, 5 Sep 2023 21:28:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=85=83=E7=B4=A0=E5=92=8C?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E5=88=B0=E5=85=83=E7=B4=A0=E7=9A=84=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=90=8D=E7=A7=B0=E6=9B=B4=E6=94=B9=E4=B8=BA=E7=82=B9?= =?UTF-8?q?=E5=87=BB/=E7=A7=BB=E5=8A=A8=E5=88=B0=E7=9A=84=E5=85=83?= =?UTF-8?q?=E7=B4=A0=E7=9A=84=E6=96=87=E6=9C=AC=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ElectronJS/src/taskGrid/FlowChart.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ElectronJS/src/taskGrid/FlowChart.js b/ElectronJS/src/taskGrid/FlowChart.js index cdad93f..ed9e52f 100644 --- a/ElectronJS/src/taskGrid/FlowChart.js +++ b/ElectronJS/src/taskGrid/FlowChart.js @@ -467,7 +467,8 @@ function toolBoxKernel(e, para = null) { if (str == "") { title += LANG("元素", "Element"); } else { - if(window.location.href.indexOf("_CN") != -1){ //中文 + let lang = detectLang(str); + if(lang == 1){ //中文 if (str.length > l) { str = str.substring(0, l) + "..."; }