Commit 664eb412bea58e3b6d0630d0638dd41e3d52e729
Merge branch 'fix/DEFECT-2096' into 'main_dev'
fix: 租户管理员创建TCPmodbus类型的设备,引用产品品类时,物模型编辑时扩展描述不可进行编辑 See merge request yunteng/thingskit-front!1351
Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -80,11 +80,11 @@ |
80 | 80 | |
81 | 81 | <template> |
82 | 82 | <section> |
83 | - <Button v-if="!value.operationType" type="link" @click="handleClick"> | |
83 | + <Button v-if="!value?.operationType" type="link" @click="handleClick"> | |
84 | 84 | <PlusCircleOutlined /> |
85 | 85 | 新增扩展描述 |
86 | 86 | </Button> |
87 | - <main v-if="value.operationType" class="flex"> | |
87 | + <main v-if="value?.operationType" class="flex"> | |
88 | 88 | <div class="flex-auto flex text-gray-400 bg-blue-50 text-xs p-2 border gap-2 border-gray-100"> |
89 | 89 | <div text-base> |
90 | 90 | <PlusSquareOutlined | ... | ... |