Commit 163ab67971df2844ff437aa58f00bc7e4319701d

Authored by fengtao
1 parent e2c2ccc4

perf: 云端设备上传设备图片,点击同步边缘,边缘端图片变为一致,但是云端的边缘实例设备中,图片没有显示

... ... @@ -66,6 +66,9 @@ export interface EdgeDeviceItemType {
66 66 tbDeviceId: string;
67 67 tbProfileId: string;
68 68 defaultQueueName: string;
  69 + deviceInfo?: {
  70 + avatar: string;
  71 + };
69 72 image: string;
70 73 type: string;
71 74 default: boolean;
... ...
... ... @@ -84,7 +84,7 @@
84 84 <a-row :gutter="{ xs: 8, sm: 16, md: 24, lg: 32 }">
85 85 <a-col class="gutter-row" :span="3">
86 86 <div class="!flex flex-col justify-between items-center">
87   - <div><Image :src="edgeDevicePng" :width="180" /></div>
  87 + <div><Image :src="recordData?.deviceInfo?.avatar || edgeDevicePng" :width="180" /></div>
88 88 <div class="!flex flex-col mt-3">
89 89 <span style="color: #1d2129" class="font-bold">{{
90 90 recordData?.alias ? recordData?.alias : recordData?.name
... ...