fix: 🧩 修复bug

This commit is contained in:
2025-11-17 15:53:22 +08:00
parent 335b9a9b2d
commit 4168871fd4
5 changed files with 92 additions and 30 deletions

View File

@@ -32,6 +32,16 @@ import pinia from "@/stores";
import errorHandler from "@/utils/errorHandler";
import VXETable from "vxe-table";
import "vxe-table/lib/style.css";
// 全局添加 ElMessage 的高层级样式(不用再单独写 CSS 文件)
const style = document.createElement("style");
style.textContent = `
.el-message {
z-index: 3000 !important;
}
`;
document.head.appendChild(style);
localStorage.setItem("baseUrl", import.meta.env.VITE_SINGLE_URL);
const app = createApp(App);