diff --git a/nezha-fronted/src/components/common/bottomBox/bottomBox.vue b/nezha-fronted/src/components/common/bottomBox/bottomBox.vue index 9b015b211..9e1b8efd3 100644 --- a/nezha-fronted/src/components/common/bottomBox/bottomBox.vue +++ b/nezha-fronted/src/components/common/bottomBox/bottomBox.vue @@ -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' }, ] }, diff --git a/nezha-fronted/src/components/common/js/tools.js b/nezha-fronted/src/components/common/js/tools.js index 0a49f069f..0282325da 100644 --- a/nezha-fronted/src/components/common/js/tools.js +++ b/nezha-fronted/src/components/common/js/tools.js @@ -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 // 图表、阴影初始宽高 diff --git a/nezha-fronted/src/components/common/latlngPicker.vue b/nezha-fronted/src/components/common/latlngPicker.vue index 6e070800b..94c721d8e 100644 --- a/nezha-fronted/src/components/common/latlngPicker.vue +++ b/nezha-fronted/src/components/common/latlngPicker.vue @@ -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() } diff --git a/nezha-fronted/src/components/common/login.vue b/nezha-fronted/src/components/common/login.vue index 60a12e8ee..86141d617 100644 --- a/nezha-fronted/src/components/common/login.vue +++ b/nezha-fronted/src/components/common/login.vue @@ -328,7 +328,6 @@ export default { initEvent () { bus.$on('profile-dialog', () => { this.authBindShow = true - console.log(1) }) } }, diff --git a/nezha-fronted/src/components/common/rightBox/administration/roleBox.vue b/nezha-fronted/src/components/common/rightBox/administration/roleBox.vue index 2ca498bfe..e29ac3ee1 100644 --- a/nezha-fronted/src/components/common/rightBox/administration/roleBox.vue +++ b/nezha-fronted/src/components/common/rightBox/administration/roleBox.vue @@ -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') }) diff --git a/nezha-fronted/src/components/common/rightBox/dcBox.vue b/nezha-fronted/src/components/common/rightBox/dcBox.vue index 7d91ece83..3a7ab887e 100644 --- a/nezha-fronted/src/components/common/rightBox/dcBox.vue +++ b/nezha-fronted/src/components/common/rightBox/dcBox.vue @@ -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 => { diff --git a/nezha-fronted/src/components/common/rightBox/locationCascader.vue b/nezha-fronted/src/components/common/rightBox/locationCascader.vue index ffffad129..e1a634bb0 100644 --- a/nezha-fronted/src/components/common/rightBox/locationCascader.vue +++ b/nezha-fronted/src/components/common/rightBox/locationCascader.vue @@ -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 diff --git a/nezha-fronted/src/components/common/searchInput.vue b/nezha-fronted/src/components/common/searchInput.vue index f305467bf..6fb07f882 100644 --- a/nezha-fronted/src/components/common/searchInput.vue +++ b/nezha-fronted/src/components/common/searchInput.vue @@ -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]*$/ diff --git a/nezha-fronted/src/components/common/table/settings/endpointTable.vue b/nezha-fronted/src/components/common/table/settings/endpointTable.vue index b8d075cd7..99c32bc0b 100644 --- a/nezha-fronted/src/components/common/table/settings/endpointTable.vue +++ b/nezha-fronted/src/components/common/table/settings/endpointTable.vue @@ -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'