Commit 80cd96ab by yancanhua Committed by 章家宝

fix: 生产路由配置问题处理

1 parent f98a3e82
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<title>专电优拍</title> <title>专电优拍</title>
<!-- <script type="module" crossorigin src="https://aus.test.glsx.com.cn/assets/index-DnxBEEVr.js"></script> <!-- <script type="module" crossorigin src="https://aus.test.glsx.com.cn/assets/index-DnxBEEVr.js"></script>
<link rel="stylesheet" crossorigin href="https://aus.test.glsx.com.cn/assets/index-CAAxcolk.css"> --> <link rel="stylesheet" crossorigin href="https://aus.test.glsx.com.cn/assets/index-CAAxcolk.css"> -->
<script type="module" crossorigin src="https://aus.glsx.com.cn/assets/index-dGend6wH.js"></script> <script type="module" crossorigin src="https://aus.glsx.com.cn/assets/index-Brt4t3hN.js"></script>
<link rel="stylesheet" crossorigin href="https://aus.glsx.com.cn/assets/index-CAAxcolk.css"> <link rel="stylesheet" crossorigin href="https://aus.glsx.com.cn/assets/index-CAAxcolk.css">
</head> </head>
<body> <body>
......
...@@ -35,7 +35,8 @@ const routes: Array<RouteRecordRaw> = [ ...@@ -35,7 +35,8 @@ const routes: Array<RouteRecordRaw> = [
]; ];
const router = createRouter({ const router = createRouter({
history: import.meta.env.MODE === 'electron' ? createWebHashHistory() : createWebHistory(import.meta.env.BASE_URL), // history: import.meta.env.MODE === 'electron' ? createWebHashHistory() : createWebHistory(import.meta.env.BASE_URL),
history: createWebHashHistory(),
routes routes
}); });
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!