vue2-client 1.16.35 → 1.16.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@
6
6
  style="padding-right: 20px;" />
7
7
 
8
8
  <!-- 连接状态指示 -->
9
- <div class="connection-status">
9
+ <div v-if="showConnectionStatus" class="connection-status">
10
10
  <a-tooltip :title="connectionStatusText">
11
11
  <a-badge
12
12
  :status="connectionBadgeStatus"
@@ -62,6 +62,11 @@ export default {
62
62
  }
63
63
  },
64
64
  computed: {
65
+ // 是否显示连接状态
66
+ showConnectionStatus () {
67
+ return this.progressValue < 100
68
+ },
69
+
65
70
  // 连接状态文本
66
71
  connectionStatusText () {
67
72
  if (this.connectionState.isConnected) {