|
|
@@ -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>
|