diff --git a/src/components/layout/Header.vue b/src/components/layout/Header.vue index f8351cc2..20d3fb2d 100644 --- a/src/components/layout/Header.vue +++ b/src/components/layout/Header.vue @@ -125,7 +125,7 @@ :show-close="false" >
@@ -109,7 +109,14 @@ export default { } }, mounted () { - this.initData() + // this.initData() + this.isNoData = true + this.$emit('checkTag', entityDetailTabsName.securityEvent, 0) + this.toggleLoading(true) + const timer = setTimeout(() => { + this.toggleLoading(false) + clearInterval(timer) + }, 200) }, methods: { unitConvert, diff --git a/src/views/entityExplorer/EntityExplorer.vue b/src/views/entityExplorer/EntityExplorer.vue index 3b656490..2566f748 100644 --- a/src/views/entityExplorer/EntityExplorer.vue +++ b/src/views/entityExplorer/EntityExplorer.vue @@ -389,7 +389,7 @@ export default { if (!this.showList) { // 首页进入搜索时重载页面,视觉上进入列表页面 this.$router.push({ - path: '/entity', + path: '/entityExplorer', query: { listMode: this.listMode, q: urlQ,