|
@ -8,7 +8,7 @@ |
|
|
<Descriptions :list="list" :data="data" style="gap: 18px"> |
|
|
<Descriptions :list="list" :data="data" style="gap: 18px"> |
|
|
<template #content-deviceState> |
|
|
<template #content-deviceState> |
|
|
<img :src="require(`./images/${data.deviceState == 1 ? 'online' : 'offline'}.jpg`)" width="18"> |
|
|
<img :src="require(`./images/${data.deviceState == 1 ? 'online' : 'offline'}.jpg`)" width="18"> |
|
|
{{ DeviceTypeEnum[data.deviceState] || "-" }} |
|
|
{{ DeviceTypeEnum[data.deviceState] || "" }} |
|
|
</template> |
|
|
</template> |
|
|
</Descriptions> |
|
|
</Descriptions> |
|
|
</ElTabPane> |
|
|
</ElTabPane> |
|
|