From 622065c590bd705d9766830bb3a31c51978f4ad0 Mon Sep 17 00:00:00 2001 From: "DESKTOP-49I29QK\\zsmj" Date: Thu, 5 Jul 2018 20:38:33 +0800 Subject: [PATCH] =?UTF-8?q?utils=20=E6=96=B9=E6=B3=95ie8=E4=B8=8Bcontext?= =?UTF-8?q?=E6=B2=A1=E4=BA=86.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/fix/fix.compact.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/fix/fix.compact.js b/dist/fix/fix.compact.js index 4e010aa218..ad610d6c70 100644 --- a/dist/fix/fix.compact.js +++ b/dist/fix/fix.compact.js @@ -179,12 +179,12 @@ "keys", "allKeys", "values", "pairs", "invert", "mapObject", "findKey", "pick", "omit", "tap"], function (name) { var old = BI[name]; - BI[name] = function (obj, fn) { + BI[name] = function (obj, fn, context) { return typeof fn === "function" ? old(obj, function (key, value) { if (!(key in Fix.$$skipArray)) { return fn.apply(this, arguments); } - }) : old.apply(this, arguments); + }, context) : old.apply(this, arguments); }; }); BI.isEmpty = function (ob) {