Przeglądaj źródła

更换离线状态颜色

flyzto 2 tygodni temu
rodzic
commit
3ca2423231

+ 1 - 1
web/apps/web-antd/src/views/match/data-sync/index.vue

@@ -464,7 +464,7 @@ onUnmounted(() => {
       <template #bodyCell="{ column, record, text }">
         <template v-if="column.key === 'title'">
           <Space>
-            <Tag v-if="record.rowType === 'client'" :color="isOnline(record.lastRequestTime) ? 'green' : 'default'">
+            <Tag v-if="record.rowType === 'client'" :color="isOnline(record.lastRequestTime) ? 'green' : 'red'">
               {{ isOnline(record.lastRequestTime) ? '在线' : '离线' }}
             </Tag>
             <span>{{ record.title }}</span>