去除多余代码
This commit is contained in:
@@ -38,19 +38,7 @@ type EChartsOption = echarts.ComposeOption<
|
|||||||
| LegendComponentOption
|
| LegendComponentOption
|
||||||
| LineSeriesOption
|
| LineSeriesOption
|
||||||
>;
|
>;
|
||||||
/**设置定时器ID */
|
|
||||||
let timeoutDuration = 5 * 1000; // 设置5s进行刷新请求
|
|
||||||
let loadId: any = null;
|
|
||||||
|
|
||||||
// // 定时制图
|
|
||||||
// function resetTimeout() {
|
|
||||||
// if (loadId) {
|
|
||||||
// clearInterval(loadId);
|
|
||||||
// }
|
|
||||||
// loadId = setInterval(() => {
|
|
||||||
// initPicture();
|
|
||||||
// }, timeoutDuration);
|
|
||||||
// }
|
|
||||||
|
|
||||||
/**定时器ID */
|
/**定时器ID */
|
||||||
const timeoutId = ref<any>(null);
|
const timeoutId = ref<any>(null);
|
||||||
|
|||||||
Reference in New Issue
Block a user