删除监测点列表的缓存
This commit is contained in:
@@ -71,7 +71,6 @@ import { queryActivatePage, queryByPagePath } from '@/api/system-boot/csstatisti
|
||||
import RoutingConfig from '@/views/pqs/cockpit/homePage/components/routingConfig.vue'
|
||||
import { useRouter, useRoute } from 'vue-router'
|
||||
import { useTimeCacheStore } from '@/stores/timeCache'
|
||||
import {cslineList} from '@/api/harmonic-boot/cockpit/cockpit'
|
||||
const { push } = useRouter()
|
||||
const datePickerRef = ref()
|
||||
const router = useRouter()
|
||||
@@ -247,17 +246,10 @@ const handleDatePickerChange = (value: any) => {
|
||||
}
|
||||
}
|
||||
|
||||
// 监测点列表
|
||||
const initCSlineList = async () => {
|
||||
const res = await cslineList({})
|
||||
window.localStorage.setItem('lineIdList', JSON.stringify(res.data))
|
||||
}
|
||||
|
||||
// 生命周期钩子
|
||||
onMounted(() => {
|
||||
// initRowHeight()
|
||||
fetchLayoutData()
|
||||
initCSlineList()
|
||||
|
||||
// 添加窗口大小变化监听器
|
||||
window.addEventListener('resize', handleResize)
|
||||
|
||||
Reference in New Issue
Block a user