Commit 43a2741894d8d2af38df8a0ac9062fb4f5076675

Authored by xp.Huang
2 parents c44a27b8 ca9f3dc5

Merge branch 'fix/title-compoent' into 'main_dev'

fix: 修复title组件无法绑定单击事件

See merge request yunteng/thingskit-scada!223
... ... @@ -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 {
... ...