This commit is contained in:
ckcz123 2019-12-04 21:08:09 +08:00
parent d41c345cac
commit 78ad4f670b

View File

@ -1122,6 +1122,7 @@ events.prototype.__precompile_getArray = function () {
} }
events.prototype.__precompile_text = function (text) { events.prototype.__precompile_text = function (text) {
if (typeof text != 'string') return text;
return text.replace(/\${(.*?)}/g, function (word, value) { return text.replace(/\${(.*?)}/g, function (word, value) {
return "${" + core.replaceValue(value) + "}"; return "${" + core.replaceValue(value) + "}";
}); });