Skip to content

Commit

Permalink
optimize: 测速超过200ms的,显示为黄色。
Browse files Browse the repository at this point in the history
  • Loading branch information
wangliang181230 committed Nov 1, 2024
1 parent e3e7710 commit 2d008a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gui/src/view/pages/server.vue
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
<a-icon v-else type="info-circle"/>
</a>
<a-tag style="margin:2px;" v-for="(element,index) of item.backupList" :title="element.dns"
:color="element.time?(element.time>250?'orange':'green'):'red'" :key='index'>
:color="element.time?(element.time>200?'orange':'green'):'red'" :key='index'>
{{ element.host }} {{ element.time }}{{ element.time ? 'ms' : '' }} {{ element.dns }}
</a-tag>
</a-card>
Expand Down

0 comments on commit 2d008a1

Please sign in to comment.