fix:删除页面console

This commit is contained in:
zhangyu
2023-07-20 14:39:56 +08:00
parent 1e0d19d07d
commit 7c672c4b8a
5 changed files with 0 additions and 9 deletions

View File

@@ -145,7 +145,6 @@ export default {
handler (n) {
this.searchInputShow = false
this.activeTargetTab = n
console.log(n)
setTimeout(() => {
this.searchInputShow = true
}, 100)
@@ -166,7 +165,6 @@ export default {
},
// 切换tab
changeTab (tab, event) {
console.log(tab, event)
this.$emit('changeTab', tab.name)
}
}

View File

@@ -204,7 +204,6 @@ export default {
topoData: {
immediate: false,
handler () {
console.log(123213)
if (!this.isChart) {
this.reload()
}

View File

@@ -313,7 +313,6 @@ export default {
})
},
uploadPicChange () {
console.log(131123123123)
this.unitArr = []
this.tools.forEach((item, index) => {
if (index > 0) {

View File

@@ -61,7 +61,6 @@ export default {
const source = this.queryValues.find(query => query.name === this.params.legend && query.parent === this.params.parent)
if (source) {
this.dataSource = source
console.log(this.params.title, this.dataSource.elements.expression, this.dataSource.metric)
this.title = this.handleLegendAlias(this.params.title, this.params.title, this.dataSource.metric) || this.params.title
this.content = this.handleLegendAlias(this.params.content, this.params.content, this.dataSource.metric) || this.params.content
} else {
@@ -95,7 +94,6 @@ export default {
})
if (chartData && this.$refs.panelChart) {
if (chartData.length) {
console.log(chartData[0][0].elements.unit)
this.chartInfo.unit = chartData[0][0].elements.unit
}
this.chartInfo.elements = elements

View File

@@ -134,7 +134,6 @@ export default {
},
methods: {
getTableData (params) {
console.log('213123123')
if (params && Object.keys(params).length > 0) {
for (const key in params) {
this.$set(this.searchLabel, key, params[key])
@@ -197,9 +196,7 @@ export default {
})
},
delCallBack (id) {
console.log(id, 'id')
if (id.indexOf(this.$store.state.currentProject.id) !== -1) {
console.log(123, id)
this.$store.commit('currentProjectChange', {
id: '',
name: '',