Commit 770bcd9f authored by Cai Wei's avatar Cai Wei

feat(*): 修改路径

parent 539bf4c3
......@@ -112,7 +112,7 @@ const routes = [
]
const router = createRouter({
history: createWebHashHistory(),
history: createWebHashHistory('/admin/dctom/'),
routes,
})
......
......@@ -5,6 +5,7 @@ import path from "path" // 需安装此模块
export default defineConfig(({mode}) => {
const ENV = loadEnv(mode, process.cwd())
return {
base: '/admin/dctom/', // 添加基础路径配置
plugins: [vue()],
resolve: {
alias: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment