This commit is contained in:
mizukiwei 2022-08-18 14:14:58 +08:00
parent 5353118642
commit 7a4322eb01

View File

@ -82,7 +82,7 @@ const lodash = typeof require !== 'undefined' ? require('lodash') : {};
global.setTimeout = function (handler, timeout, ...args) {
return _timeout.call(global, handler, +timeout + 1000, ...args);
}
global.setTimeout = function (handler, timeout, ...args) {
global.setInterval = function (handler, timeout, ...args) {
return _interval.call(global, handler, +timeout + 1000, ...args);
}