From a784a7834fc8915fd82a09626a5d8c6f050751b4 Mon Sep 17 00:00:00 2001 From: huoyo <1729913829@qq.com> Date: Sun, 6 Oct 2024 23:58:15 +0800 Subject: [PATCH] update:updateDynamicProperties --- src/main/resources/kotime.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/kotime.html b/src/main/resources/kotime.html index 0dc3819..721e33e 100644 --- a/src/main/resources/kotime.html +++ b/src/main/resources/kotime.html @@ -514,7 +514,7 @@ let propertiesDom = document.querySelector("#dynamicText"); let propertiesText = propertiesDom.value; if (propertiesText && propertiesText.indexOf("=") > 0) { - put(concatToken('contextPath/koTime/dynamicProperties'),{text: propertiesText},function (re) { + put(concatToken('contextPath/koTime/dynamicProperties'),{text: propertiesText.trim()},function (re) { noticeSuccess('{{tab.configuration.dynamic-config.change-ok-tip}}') },function (re) { noticeError('{{tab.configuration.dynamic-config.change-fail-tip}}')