fix:删除控制台console

This commit is contained in:
zhangyu
2022-07-15 17:05:03 +08:00
parent 5061a0dd37
commit 60671e1d3b
9 changed files with 9 additions and 11 deletions

View File

@@ -265,7 +265,7 @@ export default {
this.logChartDataFormat()
}
}).catch(res => {
console.info(res)
// console.info(res)
}).finally(() => {
this.loading = false
})

View File

@@ -2986,7 +2986,6 @@ const Topology = /** @class */ (function () {
}
this.cache = null
this.data = null
console.log(this.options)
this.options.on = null
window.topology = null
this.activeLayer = null

View File

@@ -47,7 +47,6 @@ const Point = /** @class */ (function () {
return Point
}())
export { Point }
console.log(132123132123)
window.topologyPoint = Point
window.Le5leTopologyPoint = Point
// # sourceMappingURL=point.js.map

View File

@@ -10,7 +10,7 @@ const Socket = /** @class */ (function () {
this.socket = new WebSocket(this.url)
this.socket.onmessage = this.cb
this.socket.onclose = function () {
console.info('Canvas websocket closed and reconneting...')
// console.info('Canvas websocket closed and reconneting...')
_this.init()
}
}

View File

@@ -292,7 +292,7 @@ export default {
}, 500)
})
}).catch((res) => {
console.info(res)
// console.info(res)
})
},
getLayout () {

View File

@@ -40,6 +40,9 @@ export function getTopology (key) {
export function setTopology (key, value) {
topologyCache[`topology${key}`] = value
if (!value) {
delete topologyCache[`topology${key}`]
}
}
export function clearTopologyCache () {

View File

@@ -97,7 +97,7 @@ export default {
this.intervalTimer = setInterval(() => {
this.$emit('change', this.searchTime)
this.refreshDataFunc()
}, val.value * 1000)
}, val.value * 200)
return
}
if (val && val.value != -1) {
@@ -109,7 +109,7 @@ export default {
}
this.intervalTimer = setInterval(() => {
this.getIntervalData(this.interval.value)
}, val.value * 1000)
}, val.value * 200)
}
},
dropdownHandler (show) {

View File

@@ -641,7 +641,6 @@ export default {
canvasRegister()
},
mounted () {
console.log('mounted')
if (!this.fromOverView) { // 从overview来的 加载相应图片 优化首页加载速度
this.addNodeInit()
}
@@ -2285,7 +2284,6 @@ export default {
this.timer4 = null
}
if (getTopology(this.topologyIndex)) {
console.log(getTopology(this.topologyIndex))
// getTopology(this.topologyIndex).open({ pens: [] })
// getTopology(this.topologyIndex).off('contextmenu', this.onContextMenu)
// getTopology(this.topologyIndex).data.pens.forEach(item => {
@@ -2362,7 +2360,6 @@ export default {
delete StoreData[key]
}
})
console.log(le5leStore.get())
// Object.keys(getTopology(this.topologyIndex)).forEach(key => {
// getTopology(this.topologyIndex)[key] = null
// })

View File

@@ -299,7 +299,7 @@ export default {
}
}).catch(res => {
this.$refs['childrenFrom' + this.editChart.datasource].showError()
console.info(res)
// console.info(res)
})
},
selectPanel (panel) {