diff --git a/nezha-fronted/src/App.vue b/nezha-fronted/src/App.vue index c8b67f4d3..a12594375 100644 --- a/nezha-fronted/src/App.vue +++ b/nezha-fronted/src/App.vue @@ -20,7 +20,7 @@ export default { localStorage.clear() localStorage.setItem('nz-version', version) } - }, + } } diff --git a/nezha-fronted/src/components/charts/chart-list.vue b/nezha-fronted/src/components/charts/chart-list.vue index 7c9e52695..7d0be3dfa 100644 --- a/nezha-fronted/src/components/charts/chart-list.vue +++ b/nezha-fronted/src/components/charts/chart-list.vue @@ -737,7 +737,7 @@ export default { }) }, loadChartData (scrollTop) { - console.log(scrollTop); + console.log(scrollTop) if (this.dataList.length > 0) { this.dataList.forEach((item, index) => { if (!item.isLoaded) { diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/endpointQuery.vue b/nezha-fronted/src/components/common/bottomBox/tabs/endpointQuery.vue index 4dd888b01..376c3a1df 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/endpointQuery.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/endpointQuery.vue @@ -119,7 +119,7 @@ export default { dropdownShow: '', timeout: null, formatTime: '', - hideSameLabels: true, + hideSameLabels: true } }, methods: { @@ -171,7 +171,7 @@ export default { wrap.scrollTop = currentTop } }, 20) - }, + } } } diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/operationLogTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/operationLogTab.vue index 61e32e9b8..98d40f33e 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/operationLogTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/operationLogTab.vue @@ -66,13 +66,13 @@ export default { type: 'selectString', label: 'operation', disabled: false - },{ + }, { id: 14, name: this.$t('config.operationlog.operaId'), type: 'input', label: 'operaId', disabled: false - },{ + }, { id: 16, name: this.$t('config.operationlog.state'), type: 'selectString', @@ -84,10 +84,10 @@ export default { type: 'input', label: 'params', disabled: false - }, + } ] }, - searchLabel:{userId:this.obj.id} + searchLabel: { userId: this.obj.id } } }, methods: { @@ -100,7 +100,7 @@ export default { } } return '' - }, + } } } diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue b/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue index 526177bd8..f647f9b9f 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue @@ -114,7 +114,7 @@ export default { components: { 'chart-box': ChartBox, 'chart-list': ChartList, - nzBottomDataList, + nzBottomDataList }, methods: { // 刷新 diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/terminalLogTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/terminalLogTab.vue index 35f53b142..fddfe0e84 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/terminalLogTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/terminalLogTab.vue @@ -65,7 +65,7 @@ export default { ] }, nowTime: '', - searchLabel:{userId:this.obj.id} + searchLabel: { userId: this.obj.id } } }, methods: { diff --git a/nezha-fronted/src/components/common/header.vue b/nezha-fronted/src/components/common/header.vue index 1b0a0a119..7891e0b86 100644 --- a/nezha-fronted/src/components/common/header.vue +++ b/nezha-fronted/src/components/common/header.vue @@ -173,7 +173,7 @@ export default { return { username: sessionStorage.getItem('nz-username'), language: localStorage.getItem('nz-language') ? localStorage.getItem('nz-language') : 'en', - systemLogo:'', + systemLogo: '', // 顶部菜单相关 /* activeIndex: '', */ activeItemIndex: '', diff --git a/nezha-fronted/src/components/common/language/en.js b/nezha-fronted/src/components/common/language/en.js index 203076bc2..d654a6675 100644 --- a/nezha-fronted/src/components/common/language/en.js +++ b/nezha-fronted/src/components/common/language/en.js @@ -471,7 +471,7 @@ const en = { repeat: 'Repeat', tooLong: 'Too long content', onlyWord: 'only input a-z、A-Z、0-9、"_" ', - mobile:'Invalid mobile', + mobile: 'Invalid mobile' }, search: { searchTip: 'Enter to search', // '点击或回车执行搜索' @@ -706,7 +706,7 @@ const en = { confirmPwdErr: 'The two passwords are inconsistent', reinputPwd: 'Enter password again', notification: 'Notification', - mobile: 'Mobile', + mobile: 'Mobile' }, roles: { roles: 'Roles', diff --git a/nezha-fronted/src/components/common/project/topologyPrev.vue b/nezha-fronted/src/components/common/project/topologyPrev.vue index c291ed021..6a3fe3843 100644 --- a/nezha-fronted/src/components/common/project/topologyPrev.vue +++ b/nezha-fronted/src/components/common/project/topologyPrev.vue @@ -330,1468 +330,1016 @@