fix: 修改mock方式

This commit is contained in:
MTrun
2022-03-24 09:19:14 +08:00
parent a7b2d5a24b
commit 0d1c24c536
5 changed files with 49 additions and 31 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import { RequestDataTypeEnum } from '@/enums/httpEnum'
* @param chartConfig
*/
export const useChartDataFetch = (chartConfig: CreateComponentType) => {
let fetchInterval = 0
let fetchInterval:any = 0
watchEffect(() => {
clearInterval(fetchInterval)