From 5027bdb496c86f9132d7a61423b128ee649911c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com>
Date: Mon, 28 Aug 2023 14:15:39 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=AE=9E=E4=BD=93?=
=?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=BA=95=E9=83=A8total=E8=B0=83=E7=94=A8?=
=?UTF-8?q?=E6=8E=A5=E5=8F=A3=E9=94=99=E8=AF=AF=EF=BC=8C=E4=B8=8Eloading?=
=?UTF-8?q?=E4=BD=BF=E7=94=A8=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/entityExplorer/EntityExplorer.vue | 27 +++------------------
1 file changed, 4 insertions(+), 23 deletions(-)
diff --git a/src/views/entityExplorer/EntityExplorer.vue b/src/views/entityExplorer/EntityExplorer.vue
index 02ebc3a3..3ddf7c2f 100644
--- a/src/views/entityExplorer/EntityExplorer.vue
+++ b/src/views/entityExplorer/EntityExplorer.vue
@@ -70,7 +70,7 @@
{{ $t('network.total') }}
-
+
{{ numberWithCommas(entityAppTotal) }}
@@ -100,7 +100,7 @@
{{ $t('network.total') }}
-
+
{{ numberWithCommas(entityDomainTotal) }}
@@ -130,7 +130,7 @@
{{ $t('network.total') }}
-
+
{{ numberWithCommas(entityIpTotal) }}
@@ -276,10 +276,6 @@ export default {
loadingApp: false,
loadingDomain: false,
loadingIp: false,
- // New
- loadingAppNew: false,
- loadingDomainNew: false,
- loadingIpNew: false,
// Active
loadingAppActive: false,
loadingDomainActive: false,
@@ -606,16 +602,12 @@ export default {
this.loadingApp = true
this.loadingDomain = true
this.loadingIp = true
- // New
- this.loadingAppNew = true
- this.loadingDomainNew = true
- this.loadingIpNew = true
// Active
this.loadingAppActive = true
this.loadingDomainActive = true
this.loadingIpActive = true
- axios.get(api.entity.entityList.entityActive).then(response => {
+ axios.get(api.entity.entityList.entityTotal).then(response => {
if (response.status === 200) {
this.entityDomainTotal = response.data.data.domainCount
this.entityIpTotal = response.data.data.ipCount
@@ -625,17 +617,6 @@ export default {
this.loadingIp = false
this.loadingApp = false
})
- // New
- axios.get(api.entity.entityList.entityNew).then(response => {
- if (response.status === 200) {
- this.entityDomainNew = response.data.data.domainCount
- this.entityIpNew = response.data.data.ipCount
- this.entityAppNew = response.data.data.appCount
- }
- this.loadingDomainNew = false
- this.loadingIpNew = false
- this.loadingAppNew = false
- })
// Active
axios.get(api.entity.entityList.entityActive).then(response => {
if (response.status === 200) {