From 9bdb95c9e34cef640534e5e5a1e2225a80442000 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期四, 09 六月 2022 15:48:15 +0800
Subject: [PATCH] TODO#139894 [ footer -最下方說明與保經代合作 ] 文案修改

---
 PAMapp/node_modules/loader-runner/lib/LoaderRunner.js |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/PAMapp/node_modules/loader-runner/lib/LoaderRunner.js b/PAMapp/node_modules/loader-runner/lib/LoaderRunner.js
index 0afa9d0..5909261 100644
--- a/PAMapp/node_modules/loader-runner/lib/LoaderRunner.js
+++ b/PAMapp/node_modules/loader-runner/lib/LoaderRunner.js
@@ -217,10 +217,11 @@
 
 	var resourcePath = loaderContext.resourcePath;
 	if(resourcePath) {
-		options.processResource(loaderContext, resourcePath, function(err, buffer) {
+		options.processResource(loaderContext, resourcePath, function(err) {
 			if(err) return callback(err);
-			options.resourceBuffer = buffer;
-			iterateNormalLoaders(options, loaderContext, [buffer], callback);
+			var args = Array.prototype.slice.call(arguments, 1);
+			options.resourceBuffer = args[0];
+			iterateNormalLoaders(options, loaderContext, args, callback);
 		});
 	} else {
 		iterateNormalLoaders(options, loaderContext, [null], callback);

--
Gitblit v1.8.0