Commit cd67eb6b52fea843bc3f522ab4a3b5b309bab7ba
Merge branch 'fix/DEFECT-1966' into 'main_dev'
fix: 修复视频通道号选择成功但是没有回显通道号名称 See merge request yunteng/thingskit-front!1269
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -321,7 +321,7 @@ export const formSchema: QFormSchema[] = [ | @@ -321,7 +321,7 @@ export const formSchema: QFormSchema[] = [ | ||
321 | if (data) | 321 | if (data) |
322 | return data.map((item) => ({ | 322 | return data.map((item) => ({ |
323 | ...item, | 323 | ...item, |
324 | - label: item.name, | 324 | + label: item.name || item.channelId, |
325 | value: item.channelId, | 325 | value: item.channelId, |
326 | })); | 326 | })); |
327 | } catch (error) {} | 327 | } catch (error) {} |