Commit ac2b29027b08996b4f4e86e14884a87c024152ed

Authored by loveumiko
1 parent bb7d4d86

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

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