hooks
hooks copied to clipboard
taro中使用防抖节流会报错

ahooks 版本?3.x 的应该已经解决过类似的问题。
真机下的错误,taro中找到的:
Object.assign(global, { Array: Array, Date: Date, Error: Error, Function: Function, Math: Math, Object: Object, RegExp: RegExp, String: String, TypeError: TypeError, setTimeout: setTimeout, clearTimeout: clearTimeout, setInterval: setInterval, clearInterval: clearInterval });
useThrottleFn 也会出现同样的问题,版本 3.7.7
