This commit is contained in:
2019-04-08 19:51:48 +00:00
parent 4431442fc8
commit 3ee2909ed5

View File

@@ -125,7 +125,11 @@ export default {
var pattern = /\[(.*?)\]/g;
var match;
while ((match = pattern.exec(s)) != null) {
ret.replace(match, this.get(match));
var foundMatch = match[0];
var ltKey = match[1];
var newValue = this.get(ltKey);
ret = ret.replace(foundMatch, newValue);
}
return ret;
}