This commit is contained in:
2019-04-08 20:10:57 +00:00
parent 3ee2909ed5
commit 12471f3090
2 changed files with 10 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ export default {
get(key) {
// debugger;
if (!_.has(store.state.localeText, key)) {
return "?" + key + "?";
return "??" + key;
}
return store.state.localeText[key];
},
@@ -128,7 +128,6 @@ export default {
var foundMatch = match[0];
var ltKey = match[1];
var newValue = this.get(ltKey);
ret = ret.replace(foundMatch, newValue);
}
return ret;