Explorar el Código

[Fix 0000] 修复了可配置模块在scene-box类下无法正确触发pointerEvent的问题

houzekong hace 1 mes
padre
commit
ac044d02a6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/vent/home/configurable/components/ModuleCommon.vue

+ 1 - 1
src/views/vent/home/configurable/components/ModuleCommon.vue

@@ -6,7 +6,7 @@
     </template>
     <template #container>
       <slot>
-        <Header :deviceType="deviceType" :moduleData="moduleData" :data="data" @select="selectedData = $event" />
+        <Header style="pointer-events: auto" :deviceType="deviceType" :moduleData="moduleData" :data="data" @select="selectedData = $event" />
         <Content :style="{ height: header.show ? 'calc(100% - 30px)' : '100%' }" :moduleData="moduleData" :data="selectedData" />
       </slot>
     </template>