Commit ac2b29027b08996b4f4e86e14884a87c024152ed

Authored by loveumiko
1 parent bb7d4d86

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

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