diff --git a/nkebao/src/components/DeviceSelection/data.ts b/nkebao/src/components/DeviceSelection/data.ts index f493e0718..abc9a214a 100644 --- a/nkebao/src/components/DeviceSelection/data.ts +++ b/nkebao/src/components/DeviceSelection/data.ts @@ -1,7 +1,7 @@ // 设备选择项接口 export interface DeviceSelectionItem { id: number; - name: string; + memo: string; imei: string; wechatId: string; status: "online" | "offline"; diff --git a/nkebao/src/components/DeviceSelection/index.tsx b/nkebao/src/components/DeviceSelection/index.tsx index d3f9bfc5f..9d31e2689 100644 --- a/nkebao/src/components/DeviceSelection/index.tsx +++ b/nkebao/src/components/DeviceSelection/index.tsx @@ -100,7 +100,7 @@ const DeviceSelection: React.FC = ({ textOverflow: "ellipsis", }} > - 【 {device.name}】 - {device.wechatId} + 【 {device.memo}】 - {device.wechatId} {!readonly && (