Merge branch 'cherry-pick-d82e69b8' into 'dev-24.04'
CN-1669 fix: 去除链路界面多余的npm接口请求。 See merge request cyber-narrator/cn-ui!79
This commit is contained in:
@@ -122,7 +122,7 @@ export default {
|
||||
watch: {
|
||||
timeFilter: {
|
||||
handler () {
|
||||
if (this.$route.path === '/panel/networkAppPerformance' || this.$route.path === '/panel/linkMonitor') {
|
||||
if (this.$route.path === '/panel/networkAppPerformance') {
|
||||
this.$store.commit('resetScoreBase')
|
||||
this.queryScoreBase()
|
||||
if (this.lineQueryCondition || this.networkOverviewBeforeTab) {
|
||||
@@ -227,7 +227,7 @@ export default {
|
||||
this.scoreCalculation()
|
||||
}
|
||||
}
|
||||
if (this.$route.path === '/panel/networkAppPerformance' || this.$route.path === '/panel/linkMonitor') {
|
||||
if (this.$route.path === '/panel/networkAppPerformance') {
|
||||
this.$store.commit('resetScoreBase')
|
||||
this.queryScoreBase()
|
||||
}
|
||||
@@ -422,10 +422,6 @@ export default {
|
||||
},
|
||||
// 动态查询评分基准
|
||||
queryScoreBase () {
|
||||
const { name } = this.$route
|
||||
if (name === fromRoute.linkMonitor) {
|
||||
return true
|
||||
}
|
||||
const params = {
|
||||
startTime: this.timeFilter.startTime,
|
||||
endTime: this.timeFilter.endTime
|
||||
|
||||
Reference in New Issue
Block a user