@@ -315,7 +315,7 @@ $carousel-image-height: 60vh;
align-items: center;
width: 100vw;
height: 100vh;
- background: url('../../assets/images/login/login-bg.png') no-repeat 0 -120px;
+ background: url('@/assets/images/login/login-bg.png') no-repeat 0 -120px;
.bg-slot {
width: $carousel-width;
}
@@ -10,7 +10,7 @@ function pathResolve(dir: string) {
export default defineConfig({
- base: './',
+ base: '/',
// 路径重定向
resolve: {
alias: [