(target, thisArg, args)
| 324 | if (typeof value === 'function') { |
| 325 | return new Proxy(value, { |
| 326 | apply(target, thisArg, args) { |
| 327 | accessLog.push( |
| 328 | `[执行函数] ${fullPath}(${args.map((a) => JSON.stringify(a).slice(0, 50)).join(', ')})` |
| 329 | ) |
| 330 | return Reflect.apply(target, thisArg, args) |
| 331 | } |
| 332 | }) |
| 333 | } |
| 334 |