This commit is contained in:
huangchenhao 2025-11-05 15:10:41 +08:00
commit c07d7912a9
4 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ const routes = [
]
const router = createRouter({
history: createWebHistory(),
history: createWebHistory(import.meta.env.BASE_URL),
routes
})

View File

@ -5,7 +5,7 @@ import Components from 'unplugin-vue-components/vite'
import { VantResolver } from 'unplugin-vue-components/resolvers'
export default defineConfig({
base: '/app/',
base: '/bxztapp/',
plugins: [
vue(),
Components({

View File

@ -30,7 +30,7 @@ const routes = [
]
const router = createRouter({
history: createWebHistory(),
history: createWebHistory(import.meta.env.BASE_URL),
routes
})

View File

@ -6,7 +6,7 @@ import vue from '@vitejs/plugin-vue'
import { resolve } from 'path'
export default defineConfig({
base: '/pc/',
base: '/bxztpc/',
plugins: [
vue(),
AutoImport({