|
@@ -46,8 +46,8 @@ export function useAjax(fnc: CombineService<any, any>, options?: Options) {
|
|
|
manual: options?.manual || true,
|
|
|
cacheKey: options?.cacheKey,
|
|
|
pollingInterval: options?.pollingInterval || undefined,
|
|
|
- debounceInterval: options?.debounceInterval || undefined,
|
|
|
- // throttleInterval:500,
|
|
|
+ debounceInterval: options?.debounceInterval || 0,
|
|
|
+ throttleInterval: options?.throttleInterval || 0,
|
|
|
formatResult: (res) => {
|
|
|
let reqTime = moment().format('YYYY-MM-DD HH:mm:ss')
|
|
|
res['reqTime'] = reqTime
|