去除log

This commit is contained in:
高云鹏 2024-12-03 14:25:13 +08:00
parent 3381bbbd72
commit 9c9eeb5bc2
2 changed files with 0 additions and 6 deletions

View File

@ -1261,8 +1261,6 @@ const getThisDayChartDataForMinute = () => {
} }
const getAllChartData = (type: ('power' | 'trend' | 'frequency')[] = ['power', 'trend', 'frequency']) => { const getAllChartData = (type: ('power' | 'trend' | 'frequency')[] = ['power', 'trend', 'frequency']) => {
console.log(type, '-_-----')
if (type.includes('power')) { if (type.includes('power')) {
getThisDayChartData().then(() => { getThisDayChartData().then(() => {
initpowerChart() initpowerChart()
@ -1433,8 +1431,6 @@ onUnmounted(() => {
watch( watch(
() => route.query.irn, () => route.query.irn,
() => { () => {
console.log('切换风机', route.query.name)
autoUpdateForSecondTimer && clearInterval(autoUpdateForSecondTimer) autoUpdateForSecondTimer && clearInterval(autoUpdateForSecondTimer)
autoUpdateForSecondTimer = null autoUpdateForSecondTimer = null
autoUpdateTimerForHourTimer && clearInterval(autoUpdateTimerForHourTimer) autoUpdateTimerForHourTimer && clearInterval(autoUpdateTimerForHourTimer)

View File

@ -117,8 +117,6 @@ const defaultList = [
//#endregion //#endregion
const selectList = ref([]) const selectList = ref([])
const changeCheck = () => { const changeCheck = () => {
console.log('-----------------------------------', timer, selectList.value)
if (!timer && selectList.value[0]) { if (!timer && selectList.value[0]) {
createTimer() createTimer()
} }