From 6633d7f76f9afd8d00f3febbf00710de001150f5 Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Fri, 16 Sep 2022 21:27:20 +0800 Subject: [PATCH] Update abp.js --- npm/packs/core/src/abp.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/npm/packs/core/src/abp.js b/npm/packs/core/src/abp.js index 1dbe05e2cd..838392cb92 100644 --- a/npm/packs/core/src/abp.js +++ b/npm/packs/core/src/abp.js @@ -106,10 +106,10 @@ var abp = abp || {}; var value = resource.texts[key]; if (value === undefined) { for (var i = 0; i < resource.baseResources.length; i++){ - var basedArgument = Array.prototype.slice.call(arguments, 0); - basedArgument[1] = resource.baseResources[i]; + var basedArguments = Array.prototype.slice.call(arguments, 0); + 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){ return result; }