wjx 2 năm trước cách đây
mục cha
commit
1c259ff604
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/models/useAdMonitor/useMonitor.ts

+ 2 - 2
src/models/useAdMonitor/useMonitor.ts

@@ -11,9 +11,9 @@ export default function useMonitor() {
     /** 获取起量计划列表 */
     const getPlanList = useAjax((params: ListType) => getPlanListApi(params), { formatResult: true })
     /**获取起来计划列表明细*/
-    const getPlanDetailList = useAjax((params: ListType) => getDetailListApi(params), { formatResult: true })
+    const getPlanDetailList = useAjax((params: ListType) => getDetailListApi(params), { formatResult: true, debounceInterval: 100 })
     /**获取起来计划列表5min*/
-    const getMinuteList = useAjax((params: ListType) => getMinuteListApi(params), { formatResult: true })
+    const getMinuteList = useAjax((params: ListType) => getMinuteListApi(params), { formatResult: true, debounceInterval: 100 })
     /** 获取今日计划总消耗图谱 */
     const getTotalCost = useAjax((params: ListType) => getTotalCostApi(params), { formatResult: true })
     /** 获取计划消耗图谱 */