mirror of
https://gitee.com/huoyo/ko-time.git
synced 2025-12-08 01:38:26 +08:00
update:updateDynamicProperties
This commit is contained in:
parent
a9e0f8b6dc
commit
a784a7834f
@ -514,7 +514,7 @@
|
|||||||
let propertiesDom = document.querySelector("#dynamicText");
|
let propertiesDom = document.querySelector("#dynamicText");
|
||||||
let propertiesText = propertiesDom.value;
|
let propertiesText = propertiesDom.value;
|
||||||
if (propertiesText && propertiesText.indexOf("=") > 0) {
|
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}}')
|
noticeSuccess('{{tab.configuration.dynamic-config.change-ok-tip}}')
|
||||||
},function (re) {
|
},function (re) {
|
||||||
noticeError('{{tab.configuration.dynamic-config.change-fail-tip}}')
|
noticeError('{{tab.configuration.dynamic-config.change-fail-tip}}')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user