Commit e65ddcb783a913512ecc20922bc722325b8ad9b4
1 parent
8df1fba8
feat: if device transportType is TCP will disabled properites panel
Showing
2 changed files
with
6 additions
and
2 deletions
... | ... | @@ -24,7 +24,11 @@ |
24 | 24 | :size="size" |
25 | 25 | > |
26 | 26 | <TabPane :key="FunctionType.PROPERTIES" tab="属性" /> |
27 | - <TabPane :key="FunctionType.SERVICE" tab="服务" /> | |
27 | + <TabPane | |
28 | + :key="FunctionType.SERVICE" | |
29 | + :disabled="$props.record.transportType === 'TCP'" | |
30 | + tab="服务" | |
31 | + /> | |
28 | 32 | <TabPane |
29 | 33 | :key="FunctionType.EVENTS" |
30 | 34 | tab="事件" | ... | ... |