Commit 6cbaaabfff9e92c9e5f6b9843c6ea3ee18cb766f
1 parent
eec24cf8
perf: device profiles page show detail not allow user input
Showing
1 changed file
with
22 additions
and
10 deletions
| @@ -34,18 +34,30 @@ | @@ -34,18 +34,30 @@ | ||
| 34 | @change="handleChange" | 34 | @change="handleChange" |
| 35 | > | 35 | > |
| 36 | <TabPane forceRender key="1" tab="设备配置"> | 36 | <TabPane forceRender key="1" tab="设备配置"> |
| 37 | - <DeviceConfigurationStep | ||
| 38 | - :ifShowBtn="isViewDetail ? false : true" | ||
| 39 | - v-show="activeKey === '1'" | ||
| 40 | - ref="DevConStRef" | ||
| 41 | - /> | 37 | + <div class="relative"> |
| 38 | + <DeviceConfigurationStep | ||
| 39 | + :ifShowBtn="isViewDetail ? false : true" | ||
| 40 | + v-show="activeKey === '1'" | ||
| 41 | + ref="DevConStRef" | ||
| 42 | + /> | ||
| 43 | + <div | ||
| 44 | + v-show="isViewDetail" | ||
| 45 | + class="absolute w-full h-full top-0 cursor-not-allowed" | ||
| 46 | + ></div> | ||
| 47 | + </div> | ||
| 42 | </TabPane> | 48 | </TabPane> |
| 43 | <TabPane forceRender key="2" tab="传输配置"> | 49 | <TabPane forceRender key="2" tab="传输配置"> |
| 44 | - <TransportConfigurationStep | ||
| 45 | - :ifShowBtn="isViewDetail ? false : true" | ||
| 46 | - v-show="activeKey === '2'" | ||
| 47 | - ref="TransConStRef" | ||
| 48 | - /> | 50 | + <div class="relative"> |
| 51 | + <TransportConfigurationStep | ||
| 52 | + :ifShowBtn="isViewDetail ? false : true" | ||
| 53 | + v-show="activeKey === '2'" | ||
| 54 | + ref="TransConStRef" | ||
| 55 | + /> | ||
| 56 | + <div | ||
| 57 | + v-show="isViewDetail" | ||
| 58 | + class="absolute w-full h-full top-0 cursor-not-allowed" | ||
| 59 | + ></div> | ||
| 60 | + </div> | ||
| 49 | </TabPane> | 61 | </TabPane> |
| 50 | <TabPane forceRender key="3" v-show="activeKey === '3'" tab="物模型管理"> | 62 | <TabPane forceRender key="3" v-show="activeKey === '3'" tab="物模型管理"> |
| 51 | <PhysicalModelManagementStep v-show="activeKey === '3'" ref="PhysicalModManRef" /> | 63 | <PhysicalModelManagementStep v-show="activeKey === '3'" ref="PhysicalModManRef" /> |