Commit d6503094f213d5f23c3bc4db1f7ee218905c5e7b
Merge branch 'fix/DEFECT-1894' into 'main_dev'
fix: 修复部分组件无产品id时查询报错 See merge request yunteng/thingskit-front!1187
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -33,7 +33,7 @@ export const useDataSource = (propsRef: ComputedRef<Recordable>) => { | @@ -33,7 +33,7 @@ export const useDataSource = (propsRef: ComputedRef<Recordable>) => { | ||
33 | return [...prev, ...ids]; | 33 | return [...prev, ...ids]; |
34 | }, []); | 34 | }, []); |
35 | 35 | ||
36 | - return [...new Set(result)]; | 36 | + return [...new Set(result)].filter(Boolean); |
37 | }); | 37 | }); |
38 | 38 | ||
39 | const getSharePageData = computed(() => { | 39 | const getSharePageData = computed(() => { |