Przeglądaj źródła

fix: 使用 !important 强制隐藏弹窗 header

- 添加 !important 确保 display: none 生效
- 设置 height: 0、padding: 0、margin: 0
- 确保弹窗 header 完全不显示
何文松 1 dzień temu
rodzic
commit
a36cc0738a
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4 1
      frontend/vue-demo/src/views/Editor.vue

+ 4 - 1
frontend/vue-demo/src/views/Editor.vue

@@ -7826,7 +7826,10 @@ onMounted(async () => {
   }
   }
   
   
   :deep(.el-dialog__header) {
   :deep(.el-dialog__header) {
-    display: none;
+    display: none !important;
+    height: 0 !important;
+    padding: 0 !important;
+    margin: 0 !important;
   }
   }
 }
 }
 </style>
 </style>