style: color of offline device count
This commit is contained in:
@@ -129,7 +129,8 @@ const theme = useThemeVars();
|
||||
<span class="font-xx-small" :class="[station.online ? 'clickable' : '']" @click="openOfflineDeviceTreeModal">离线设备</span>
|
||||
</template>
|
||||
<template #default>
|
||||
<span class="font-small" :style="{ color: offlineDeviceCount > 0 ? theme.errorColor : theme.successColor }">{{ offlineDeviceCount }}</span>
|
||||
<span class="font-small" :style="{ color: offlineDeviceCount > 0 ? theme.errorColor : '' }">{{ offlineDeviceCount }}</span>
|
||||
<span class="font-small">/</span>
|
||||
<span class="font-small">/{{ deviceCount }}</span>
|
||||
</template>
|
||||
<template #suffix>
|
||||
|
||||
Reference in New Issue
Block a user