Commit ac53e460f536b6f8325d8f72e2ad1f2efca9bb67

Authored by ww
1 parent c39fa33f

fix: hidden model of matter event panel

@@ -25,7 +25,7 @@ @@ -25,7 +25,7 @@
25 > 25 >
26 <TabPane :key="FunctionType.PROPERTIES" tab="属性" /> 26 <TabPane :key="FunctionType.PROPERTIES" tab="属性" />
27 <TabPane :key="FunctionType.SERVICE" :disabled="isTCPGatewaySubDevice" tab="服务" /> 27 <TabPane :key="FunctionType.SERVICE" :disabled="isTCPGatewaySubDevice" tab="服务" />
28 - <TabPane :key="FunctionType.EVENTS" tab="事件" :disabled="isTCPGatewaySubDevice" /> 28 + <!-- <TabPane :key="FunctionType.EVENTS" tab="事件" :disabled=" isTCPGatewaySubDevice" /> -->
29 </Tabs> 29 </Tabs>
30 <Attribute v-if="activeKey === FunctionType.PROPERTIES" ref="AttrRef" /> 30 <Attribute v-if="activeKey === FunctionType.PROPERTIES" ref="AttrRef" />
31 <Service 31 <Service
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
11 <Tabs type="card" v-model:active-key="activeKey" @change="handleSwitchTsl"> 11 <Tabs type="card" v-model:active-key="activeKey" @change="handleSwitchTsl">
12 <Tabs.TabPane :key="FunctionType.PROPERTIES" tab="属性" /> 12 <Tabs.TabPane :key="FunctionType.PROPERTIES" tab="属性" />
13 <Tabs.TabPane :key="FunctionType.SERVICE" tab="服务" /> 13 <Tabs.TabPane :key="FunctionType.SERVICE" tab="服务" />
14 - <Tabs.TabPane :key="FunctionType.EVENTS" tab="事件" /> 14 + <!-- <Tabs.TabPane :key="FunctionType.EVENTS" tab="事件" /> -->
15 <template #tabBarExtraContent> 15 <template #tabBarExtraContent>
16 <Button @click="handlePremitter"> 16 <Button @click="handlePremitter">
17 <template #icon> 17 <template #icon>