mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 00:02:51 +08:00
fix: 解决 login 背景打包后消失的问题
This commit is contained in:
parent
fa061c42ad
commit
fcdc26e9eb
@ -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: [
|
||||
|
Loading…
Reference in New Issue
Block a user