From cfcb0fa8a4307c310a31c8c068e014fbd9cc2e2a Mon Sep 17 00:00:00 2001 From: mzz2017 Date: Fri, 15 May 2020 01:05:53 +0800 Subject: [PATCH] optimize: fluency of frontend --- gui/src/node.vue | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/gui/src/node.vue b/gui/src/node.vue index c642adcc..54f7b0fb 100644 --- a/gui/src/node.vue +++ b/gui/src/node.vue @@ -114,15 +114,12 @@ - + - - + - + 0) { - subscriptionServersOffset++; - serversOffset++; - } - if (this.tableData.servers.length > 0) { - subscriptionServersOffset++; - } + // if (this.tableData.subscriptions.length > 0) { + // subscriptionServersOffset++; + // serversOffset++; + // } + // if (this.tableData.servers.length > 0) { + // subscriptionServersOffset++; + // } if (whichServer._type === CONST.SubscriptionServerType) { this.tab = sub + subscriptionServersOffset; } else if (whichServer._type === CONST.ServerType) {