- 添加 !important 确保 display: none 生效 - 设置 height: 0、padding: 0、margin: 0 - 确保弹窗 header 完全不显示
@@ -7826,7 +7826,10 @@ onMounted(async () => {
}
:deep(.el-dialog__header) {
- display: none;
+ display: none !important;
+ height: 0 !important;
+ padding: 0 !important;
+ margin: 0 !important;
</style>