|
...
|
...
|
@@ -102,7 +102,7 @@ class Subscriber { |
|
102
|
102
|
return {
|
|
103
|
103
|
cmdId: subscriptionId,
|
|
104
|
104
|
entityId: deviceId,
|
|
105
|
|
- keys: Array.from(attributes.values()).join(','),
|
|
|
105
|
+ keys: Array.from(attributes.values()).filter(Boolean).join(','),
|
|
106
|
106
|
entityType: EntityTypeEnum.DEVICE,
|
|
107
|
107
|
scope: ScopeTypeEnum.LATEST_TELEMERY,
|
|
108
|
108
|
...(unsubscribe ? { unsubscribe } : {}),
|
|
...
|
...
|
@@ -354,6 +354,7 @@ export const useDataFetch = ( |
|
354
|
354
|
props: { config: ComponentPropsConfigType },
|
|
355
|
355
|
updateFn: DataFetchUpdateFn
|
|
356
|
356
|
) => {
|
|
|
357
|
+ console.log(props, 'props');
|
|
357
|
358
|
const getBindAttribute = computed(() => {
|
|
358
|
359
|
const { config } = props;
|
|
359
|
360
|
const { option } = config as ComponentPropsConfigType<Recordable, DataSource>;
|
...
|
...
|
|