Commit 5fb1f34c70edfbfc89b513b991348bb1de614fec
1 parent
b0ae23c9
fix: 产品品类,详情进入后,选择物模型编辑时或查看时,没有回显物模型数据,第二次点进去时回显成功
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -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 | ... | ... |