Browse Source

CORE-127 简化前端国际化写法

es6
Dailer 6 years ago
parent
commit
eb1f93811a
  1. 2
      src/core/base.js

2
src/core/base.js

@ -46,7 +46,7 @@ if (!_global.BI) {
var len = arguments.length;
if (len > 1) {
for (var i = 1; i < len; i++) {
var key = "{R" + i + "}";
var key = "{}";
localeText = BI.replaceAll(localeText, key, arguments[i] + "");
}
}

Loading…
Cancel
Save