Browse Source

Update abp.js

pull/14047/head
liangshiwei 4 years ago
parent
commit
6633d7f76f
  1. 6
      npm/packs/core/src/abp.js

6
npm/packs/core/src/abp.js

@ -106,10 +106,10 @@ var abp = abp || {};
var value = resource.texts[key]; var value = resource.texts[key];
if (value === undefined) { if (value === undefined) {
for (var i = 0; i < resource.baseResources.length; i++){ for (var i = 0; i < resource.baseResources.length; i++){
var basedArgument = Array.prototype.slice.call(arguments, 0); var basedArguments = Array.prototype.slice.call(arguments, 0);
basedArgument[1] = resource.baseResources[i]; basedArguments[1] = resource.baseResources[i];
var result = abp.localization.internal.localize.apply(this, basedArgument); var result = abp.localization.internal.localize.apply(this, basedArguments);
if (result.found){ if (result.found){
return result; return result;
} }

Loading…
Cancel
Save