Commit ca9f3dc55846094e6c41df73b143fd7781c5bdb4

Authored by ww
1 parent c44a27b8

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

... ... @@ -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 {
... ...