Browse Source

警告穿透

gcz 3 năm trước cách đây
mục cha
commit
399464828f
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/components/alarm.vue

+ 4 - 0
src/components/alarm.vue

@@ -40,6 +40,10 @@
 
 <style lang='scss' scoped>
 .alarm-wrap{
+  pointer-events: none;
+  & > * {
+    pointer-events: auto;
+  }
 position: fixed;
     left: 0;
     right: 0;