commit
build / build (push) Successful in 9m55s

This commit is contained in:
wanghu
2026-10-10 15:58:02 +08:00
parent 6faa332d2b
commit 2e36d7a9c8
1842 changed files with 70537 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
// 独立预览入口:绕过 SSO/登录,直接渲染「我要请假」页以核对分段控件(请假类型等)样式
// 数据来自 preview-ut/mock-server.mjs(8109),由 preview.vite.config.ts 代理
import { createApp, h } from "vue";
import { createRouter, createMemoryHistory, RouterView } from "vue-router";
import ViewUIPlus from "view-ui-plus";
import "view-ui-plus/dist/styles/viewuiplus.css";
import "@/assets/styles/main.scss";
import "@/assets/styles/layout.css";
import "@/assets/styles/icons.css";
import "virtual:svg-icons-register";
import ApplyLeave from "@/views/leave/ApplyLeave.vue";
const router = createRouter({
history: createMemoryHistory(),
routes: [
{ path: "/", redirect: "/apply" },
{ path: "/apply", component: ApplyLeave },
],
});
router.push("/apply");
const app = createApp({ render: () => h(RouterView) });
app.use(router);
app.use(ViewUIPlus);
app.mount("#app");
// 便于截图核对:撑开容器 + 选中第二个类型观察选中态
setTimeout(() => {
const host = document.getElementById("app");
if (host) {
host.style.padding = "20px 24px 40px";
host.style.minHeight = "100vh";
host.style.boxSizing = "border-box";
host.style.background = "#f5f7fa";
}
}, 300);