Commit 664eb412bea58e3b6d0630d0638dd41e3d52e729

Authored by xp.Huang
2 parents bb7d4d86 ac2b2902

Merge branch 'fix/DEFECT-2096' into 'main_dev'

fix: 租户管理员创建TCPmodbus类型的设备,引用产品品类时,物模型编辑时扩展描述不可进行编辑

See merge request yunteng/thingskit-front!1351
@@ -80,11 +80,11 @@ @@ -80,11 +80,11 @@
80 80
81 <template> 81 <template>
82 <section> 82 <section>
83 - <Button v-if="!value.operationType" type="link" @click="handleClick"> 83 + <Button v-if="!value?.operationType" type="link" @click="handleClick">
84 <PlusCircleOutlined /> 84 <PlusCircleOutlined />
85 新增扩展描述 85 新增扩展描述
86 </Button> 86 </Button>
87 - <main v-if="value.operationType" class="flex"> 87 + <main v-if="value?.operationType" class="flex">
88 <div class="flex-auto flex text-gray-400 bg-blue-50 text-xs p-2 border gap-2 border-gray-100"> 88 <div class="flex-auto flex text-gray-400 bg-blue-50 text-xs p-2 border gap-2 border-gray-100">
89 <div text-base> 89 <div text-base>
90 <PlusSquareOutlined 90 <PlusSquareOutlined