stye: 删除 console
This commit is contained in:
@@ -616,7 +616,6 @@ export default {
|
||||
})
|
||||
Promise.all(promiseArr).then((res) => {
|
||||
getTopology(this.topologyIndex).open(data)
|
||||
// console.log(data)
|
||||
getTopology(this.topologyIndex).lock(1)
|
||||
this.objChange = false
|
||||
let flag = false
|
||||
@@ -772,7 +771,6 @@ export default {
|
||||
}
|
||||
data.pens.forEach(item => {
|
||||
if (item.type === 0 && item.data.imageId) {
|
||||
// console.log(item,item.data.imageId,this.iconArray.find(item1 => item1.id == 44))
|
||||
const img = this.iconArray.find(item1 => item1.id == item.data.imageId)
|
||||
item.image = img ? img.image : imgDefault
|
||||
}
|
||||
@@ -1041,7 +1039,6 @@ export default {
|
||||
|
||||
onMessage (event, data, e) {
|
||||
// console.log('onMessage', event, data)
|
||||
// console.log(getTopology(this.topologyIndex))
|
||||
// this.notModuleIDArr=[];
|
||||
// this.toolShow.attr = false
|
||||
// this.toolShow.topTool = false
|
||||
@@ -1152,7 +1149,6 @@ export default {
|
||||
setTimeout(() => {
|
||||
this.tooltipPosition.show = true
|
||||
const ePosition = window.ePosition
|
||||
console.log(ePosition)
|
||||
const boxWidth = document.getElementsByClassName('page')[0].offsetWidth
|
||||
const boxHeight = document.getElementsByClassName('page')[0].offsetHeight
|
||||
this.tooltipPosition.left = ePosition.layerX + 20
|
||||
@@ -1748,8 +1744,6 @@ export default {
|
||||
this.previewData = ''
|
||||
this.isPreview = false
|
||||
const topologyData = getTopology(this.topologyIndex).pureData()
|
||||
// console.log(JSON.stringify(topologyData))
|
||||
|
||||
this.editTopologyFlag = false
|
||||
topologyData.rule = false
|
||||
topologyData.grid = false
|
||||
|
||||
@@ -296,7 +296,6 @@ export default {
|
||||
}
|
||||
})
|
||||
this.$nextTick(() => {
|
||||
// console.log(this.legend, this.chartDatas)
|
||||
this.$refs.messageChart.setRandomColors(this.chartDatas.length)
|
||||
this.$refs.messageChart.setLegend(this.legend)
|
||||
this.$refs.messageChart.setSeries(this.chartDatas)
|
||||
|
||||
@@ -287,7 +287,6 @@ export function stringTimeParseToUnix (stringTime) {
|
||||
offset = moment.tz(offset).format('Z')
|
||||
offset = Number.parseInt(offset)
|
||||
const localOffset = new Date().getTimezoneOffset() * 60 * 1000 * -1 // 默认 一分钟显示时区偏移的结果
|
||||
// console.log(offset,localOffset, time)
|
||||
time = time + localOffset - offset * 60 * 60 * 1000
|
||||
return parseInt(time / 1000)
|
||||
}
|
||||
|
||||
@@ -320,7 +320,6 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
// console.log(this.searchTime, 'this.searchTime')
|
||||
},
|
||||
methods: {
|
||||
dateChange (val) {
|
||||
|
||||
@@ -243,9 +243,9 @@
|
||||
</el-col>
|
||||
</template>
|
||||
</el-row>
|
||||
<div class="nz-icon-minus-position">
|
||||
<span class="nz-icon-minus-medium" style="box-sizing: border-box;
|
||||
<div class="nz-icon-minus-position" style="box-sizing: border-box;
|
||||
padding: 10px;">
|
||||
<span class="nz-icon-minus-medium">
|
||||
<i @click="removeExpression(index)" class="nz-icon nz-icon-minus"></i>
|
||||
</span>
|
||||
<span class="nz-icon-copy">
|
||||
|
||||
@@ -647,7 +647,6 @@ export default {
|
||||
data.pens && data.pens.forEach((item, index) => {
|
||||
this.chartGetData.push({ id: item.id, res: [] })
|
||||
let arr = []
|
||||
// console.log(item.data.valueMappingShow)
|
||||
if (item.data.valueMappingShow) {
|
||||
arr = item.data.expressArr.map((ele) => {
|
||||
let query = ele
|
||||
@@ -813,7 +812,6 @@ export default {
|
||||
}
|
||||
data.pens.forEach(item => {
|
||||
if (item.type === 0 && item.data.imageId) {
|
||||
// console.log(item,item.data.imageId,this.iconArray.find(item1 => item1.id == 44))
|
||||
const img = this.iconArray.find(item1 => item1.id == item.data.imageId)
|
||||
item.image = img ? img.image : imgDefault
|
||||
}
|
||||
@@ -846,7 +844,6 @@ export default {
|
||||
data.bkImage = undefined
|
||||
}
|
||||
Promise.all(promiseArr).then(res => {
|
||||
// console.log(res)
|
||||
res.forEach((response, index) => {
|
||||
const item = data.pens[index]
|
||||
if (item.type === 0) {
|
||||
@@ -1838,7 +1835,6 @@ export default {
|
||||
this.previewData = ''
|
||||
this.isPreview = false
|
||||
const topologyData = getTopology(this.topologyIndex).pureData()
|
||||
// console.log(JSON.stringify(topologyData))
|
||||
let flag = true
|
||||
const arr = []
|
||||
this.notModuleIDArr = []
|
||||
|
||||
@@ -818,7 +818,6 @@ export default {
|
||||
}
|
||||
data.pens.forEach(item => {
|
||||
if (item.type === 0 && item.data.imageId) {
|
||||
// console.log(item,item.data.imageId,this.iconArray.find(item1 => item1.id == 44))
|
||||
const img = this.iconArray.find(item1 => item1.id == item.data.imageId)
|
||||
item.image = img ? img.image : imgDefault
|
||||
}
|
||||
@@ -851,7 +850,6 @@ export default {
|
||||
data.bkImage = undefined
|
||||
}
|
||||
Promise.all(promiseArr).then(res => {
|
||||
// console.log(res)
|
||||
res.forEach((response, index) => {
|
||||
const item = data.pens[index]
|
||||
if (item.type === 0) {
|
||||
|
||||
Reference in New Issue
Block a user