diff --git a/nezha-fronted/.gitignore b/nezha-fronted/.gitignore index 722b02965..541a820f6 100644 --- a/nezha-fronted/.gitignore +++ b/nezha-fronted/.gitignore @@ -1,7 +1,6 @@ .DS_Store node_modules/ /dist/ -/static/ npm-debug.log* yarn-debug.log* yarn-error.log* diff --git a/nezha-fronted/src/components/common/rightBox/locationCascader.vue b/nezha-fronted/src/components/common/rightBox/locationCascader.vue index f9e92b007..f83692574 100644 --- a/nezha-fronted/src/components/common/rightBox/locationCascader.vue +++ b/nezha-fronted/src/components/common/rightBox/locationCascader.vue @@ -118,7 +118,7 @@ export default { if (this.cabinetInfos.has(cabinetKey) && this.cabinetInfos.get(cabinetKey) && this.cabinetInfos.get(cabinetKey).length > 0) { this.showCabinetInfos = this.cabinetInfos.get(cabinetKey) } else { - this.$get('cabinet?pageSize=-1&dcId=' + dc.id).then(response => { + this.$get('dc/cabinet?pageSize=-1&dcId=' + dc.id).then(response => { if (response.code == 200) { this.cabinetInfos.set(cabinetKey, response.data.list) this.showCabinetInfos = response.data.list @@ -151,7 +151,7 @@ export default { this.occupyU = occupyU.map(item => { return item.value }) } else { const us = [] - this.$get('cabinet/u?id=' + cabinet.id).then(response => { + this.$get('dc/cabinet/u?id=' + cabinet.id).then(response => { if (response.code == 200) { for (let i = 1; i <= response.data.total; i++) { const u = { diff --git a/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue b/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue index 84cf044a0..29a82958d 100644 --- a/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue +++ b/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue @@ -68,7 +68,7 @@ :style="{'width':plugins.indexOf('metric-selector') > -1 ? 'calc(100% - 160px)':'100%',height: '100%',}">