diff --git a/apps/web-antd/src/views/ops/area/data-enhanced.ts b/apps/web-antd/src/views/ops/area/data-enhanced.ts index fc6a65cd0..37a8d92b5 100644 --- a/apps/web-antd/src/views/ops/area/data-enhanced.ts +++ b/apps/web-antd/src/views/ops/area/data-enhanced.ts @@ -418,18 +418,15 @@ export function useGridColumns(): VxeTableGridOptions['colum (o) => o.value === row.areaLevel, ); return option - ? h( - Badge, - { - status: - option.color === 'red' ? 'error' : ( - option.color === 'orange' - ? 'warning' - : 'success' - ), - text: option.label, - }, - ) + ? h(Badge, { + status: + option.color === 'red' + ? 'error' + : option.color === 'orange' + ? 'warning' + : 'success', + text: option.label, + }) : h('span', { class: 'text-gray-400' }, '-'); }, }, diff --git a/apps/web-antd/src/views/ops/area/modules/device-bind-drawer-enhanced.vue b/apps/web-antd/src/views/ops/area/modules/device-bind-drawer-enhanced.vue index 77b892ebe..527c24a1d 100644 --- a/apps/web-antd/src/views/ops/area/modules/device-bind-drawer-enhanced.vue +++ b/apps/web-antd/src/views/ops/area/modules/device-bind-drawer-enhanced.vue @@ -291,7 +291,9 @@ function getRelationTypeColor(type: string) { d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /> - 管理区域内所有绑定的IoT设备及其配置 + 管理区域内所有绑定的IoT设备及其配置