diff --git a/nezha-fronted/src/components/chart/chartMixin.js b/nezha-fronted/src/components/chart/chartMixin.js index fcc3a700e..52e23910b 100644 --- a/nezha-fronted/src/components/chart/chartMixin.js +++ b/nezha-fronted/src/components/chart/chartMixin.js @@ -264,7 +264,6 @@ export default { deep: true, handler (n) { if (!this.isInit && this.chartOption.color) { - console.log(this.chartOption) this.colorList = this.colorList.slice(0, 20) this.chartOption.color = this.chartOption.color.slice(0, 20) this.initChart(this.chartOption) diff --git a/nezha-fronted/src/components/chart/panelChart.vue b/nezha-fronted/src/components/chart/panelChart.vue index a4a29d459..1eaf85c1d 100644 --- a/nezha-fronted/src/components/chart/panelChart.vue +++ b/nezha-fronted/src/components/chart/panelChart.vue @@ -348,7 +348,6 @@ export default { } } } catch (e) { - console.info(e) this.loading = false } }, diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTabNew.vue b/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTabNew.vue index 912ffa325..0edfa4fb6 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTabNew.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTabNew.vue @@ -161,7 +161,7 @@ export default { immediate: true, handler (n) { if (n) { - console.log(n) + // console.log(n) } } } diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/logBottomTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/logBottomTab.vue index cd38bb4d6..b7f658ef4 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/logBottomTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/logBottomTab.vue @@ -115,7 +115,6 @@ export default { if (item != '') { let expr = item this.matchContent && (expr = `${item} ${this.matchSymbol} "${this.matchContent}"`) - console.log(this.filterTime) requestArr.push(this.$get('/logs/loki/api/v1/query_range?format=1&query=' + encodeURIComponent(expr) + '&start=' + this.$stringTimeParseToUnix(this.filterTime[0]) + '&end=' + this.$stringTimeParseToUnix(this.filterTime[1]) + '&limit=' + limit)) } }) diff --git a/nezha-fronted/src/components/layout/leftMenu.vue b/nezha-fronted/src/components/layout/leftMenu.vue index c2332acf0..c68b4bb6a 100644 --- a/nezha-fronted/src/components/layout/leftMenu.vue +++ b/nezha-fronted/src/components/layout/leftMenu.vue @@ -82,7 +82,6 @@ export default { }, methods: { jump (route) { - console.log(route, this.route) if (route === this.route) { this.refresh() } diff --git a/nezha-fronted/src/permission.js b/nezha-fronted/src/permission.js index 1972d3f0e..cc3ee03c3 100644 --- a/nezha-fronted/src/permission.js +++ b/nezha-fronted/src/permission.js @@ -15,7 +15,6 @@ router.beforeEach((to, from, next) => { const configUrl = 'static/config.json?Timestamp=' + new Date().getTime() if (to.path === '/login') { // 拦截登录页面,现货区外观设置 再系统初始化检查 Vue.http.get(configUrl).then(config => { - console.log(1) const appearance = new Promise(resolve => { get(config.body.baseUrl + 'sys/appearance').then(res => { if (res.code === 200) { @@ -110,7 +109,6 @@ router.beforeEach((to, from, next) => { store.commit('setLangList', JSON.parse(langList)) } Vue.http.get(configUrl).then(config => { - console.log(2) get(config.body.baseUrl + 'sys/i18n/lang').then(response => { if (response.code === 200) { loadI18n(response.data) @@ -126,7 +124,6 @@ router.beforeEach((to, from, next) => { const permissionRequest = new Promise(resolve => { if (store.getters.menuList.length === 0) { Vue.http.get(configUrl).then(config => { - console.log(3) post(config.body.baseUrl + 'sys/user/permissions', { token: localStorage.getItem('nz-token') }).then(res => { if (res.code === 200) { store.commit('setMenuList', sortByOrderNum(res.data.menus))