fix: 删除页面console
This commit is contained in:
@@ -202,7 +202,7 @@ export default {
|
||||
endpointTabTitle: [
|
||||
{ prop: 'panelTab', name: this.$t('overall.detail') },
|
||||
{ prop: 'endpointAlertMessage', name: this.$t('overall.alert') },
|
||||
{ prop: 'endpointQuery', name: 'Query' },
|
||||
{ prop: 'endpointQuery', name: 'Metrics' },
|
||||
{ prop: 'log', name: 'Log' },
|
||||
]
|
||||
},
|
||||
|
||||
@@ -401,7 +401,6 @@ export const chartResizeTool = {
|
||||
const titleHeight = this.titleHeight
|
||||
const containerWidth = data.groupId ? document.getElementById('listContainer' + data.groupId).offsetWidth + 40 : document.getElementById('listContainer').offsetWidth
|
||||
const step = this.stepWidth(containerWidth)
|
||||
console.log(originalData,containerWidth)
|
||||
const mouseOriginalX = event.clientX // 鼠标初始坐标
|
||||
const mouseOriginalY = event.clientY
|
||||
const originalWidth = step * data.span // 图表、阴影初始宽高
|
||||
|
||||
@@ -46,7 +46,6 @@ export default {
|
||||
initData: {
|
||||
immediate: true,
|
||||
handler () {
|
||||
// console.log(this.initData)
|
||||
if (this.initData) {
|
||||
this.mapParam = JSON.parse(JSON.stringify(this.initData))
|
||||
this.lnglat = this.mapParam.longitude + ',' + this.mapParam.latitude
|
||||
@@ -151,7 +150,6 @@ export default {
|
||||
return new Promise(resolve => {
|
||||
this.$get('/sysConfig?paramKey=map_center_config').then(response => {
|
||||
if (response.code == 200) {
|
||||
// console.log(response)
|
||||
this.mapParam = JSON.parse(response.data.paramKey.map_center_config)
|
||||
resolve()
|
||||
}
|
||||
|
||||
@@ -328,7 +328,6 @@ export default {
|
||||
initEvent () {
|
||||
bus.$on('profile-dialog', () => {
|
||||
this.authBindShow = true
|
||||
console.log(1)
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
@@ -170,7 +170,6 @@ export default {
|
||||
if (this.editRole.id) {
|
||||
this.editRole.i18n = this.editRole.name
|
||||
this.$put(this.url, this.editRole).then(res => {
|
||||
// console.log(this.editRole)
|
||||
this.prevent_opt.save = false
|
||||
if (res.code === 200) {
|
||||
this.$message({ duration: 2000, type: 'success', message: this.$t('tip.saveSuccess') })
|
||||
|
||||
@@ -118,7 +118,6 @@ export default {
|
||||
if (this.editDc.id) {
|
||||
const param = { ...this.editDc }
|
||||
const attr = this.$refs.latlngPicker.getAttribute()
|
||||
// console.log(attr)
|
||||
param.latitude = attr.latitude
|
||||
param.longitude = attr.longitude
|
||||
this.$put('/dc', param).then(response => {
|
||||
|
||||
@@ -137,7 +137,6 @@ export default {
|
||||
if (!cabinet) {
|
||||
return
|
||||
}
|
||||
// console.log('load u',cabinet,isInit)
|
||||
this.selectedData.cabinet = cabinet
|
||||
this.selectedData.u = null
|
||||
const cabinetUKey = 'cabinet-' + this.selectedData.dc.id + '-' + cabinet.id
|
||||
|
||||
@@ -429,7 +429,6 @@ export default {
|
||||
searchMsg: {
|
||||
immediate: true,
|
||||
handler (n) {
|
||||
// console.log(n);
|
||||
if (n) {
|
||||
n.searchLabelList.forEach(item => {
|
||||
if (item.id === 27 && item.type === 'idc' && item.label === 'idcId') {
|
||||
@@ -897,7 +896,6 @@ export default {
|
||||
objectInfo[val.label] = val.val
|
||||
}
|
||||
}
|
||||
// console.log('search obj', objectInfo)
|
||||
})
|
||||
this.getHeight()
|
||||
// 搜索完成后存储在本地历史记录中
|
||||
@@ -1036,7 +1034,6 @@ export default {
|
||||
},
|
||||
// input框监听是按删除还是回车
|
||||
enter (val, e) {
|
||||
// console.log(val);
|
||||
const keyCode = window.event ? e.keyCode : e.which
|
||||
if (val == 'ID' && keyCode == 13) {
|
||||
const id = /^[0-9]*$/
|
||||
|
||||
@@ -266,7 +266,6 @@ export default {
|
||||
methods: {
|
||||
copyValue (item) {
|
||||
const str = item
|
||||
// console.log(str)
|
||||
const domUrl = document.createElement('input')
|
||||
domUrl.value = JSON.stringify(str)
|
||||
domUrl.id = 'creatDom'
|
||||
|
||||
Reference in New Issue
Block a user