Showing
1 changed file
with
1 additions
and
1 deletions
| ... | ... | @@ -42,7 +42,7 @@ export const getFormSchemas = (event: EventTypeEnum): FormSchema[] => { |
| 42 | 42 | const { deviceProfileId } = dataSourceJson || {} |
| 43 | 43 | const productsStore = useProductsStoreWithOut() |
| 44 | 44 | const detail = productsStore.getProductDetailById(deviceProfileId!) |
| 45 | - const { transportType } = unref(getDeviceInfo) || detail | |
| 45 | + const { transportType } = unref(getDeviceInfo) || detail || {} | |
| 46 | 46 | |
| 47 | 47 | return [ |
| 48 | 48 | { | ... | ... |