Commit bb7d4d8666929a3f680212d6b02073917ece749c

Authored by xp.Huang
2 parents b0ae23c9 5fb1f34c

Merge branch 'fix/teambition-05-27' into 'main_dev'

fix: 产品品类,详情进入后,选择物模型编辑时或查看时,没有回显物模型数据,第二次点进去时回显成功

See merge request yunteng/thingskit-front!1347
... ... @@ -163,7 +163,7 @@ export const useObjectFormData = ({
163 163 }: UseObjectFormDataParamsType): DefineComponentsBasicExpose<ModelOfMatterParams> => {
164 164 const getTCPModbusProductFlag = computed(
165 165 () =>
166   - propsRef?.deviceRecord?.profileData.transportConfiguration.protocol ===
  166 + propsRef?.deviceRecord?.profileData?.transportConfiguration?.protocol ===
167 167 TCPProtocolTypeEnum.MODBUS_RTU
168 168 );
169 169
... ...