修改首页模块

This commit is contained in:
2025-12-04 15:26:53 +08:00
parent 39867f2a23
commit ecf3e61fca
4 changed files with 158 additions and 52 deletions

View File

@@ -544,7 +544,7 @@ baseForOwn(LazyWrapper.prototype, function(func, methodName) {
var checkIteratee = /^(?:filter|find|map|reject)|While$/.test(methodName),
isTaker = /^(?:head|last)$/.test(methodName),
lodashFunc = lodash[isTaker ? ('take' + (methodName == 'last' ? 'Right' : '')) : methodName],
retUnwrapped = isTaker || /^find/.test(methodName);
retUnwrapped = isTaker || methodName.startsWith('find');
if (!lodashFunc) {
return;