Skip to content

Commit 41ee8f4

Browse files
committed
fix: アニメーションの basePath を修正
1 parent 7bd91cf commit 41ee8f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/composables/useAnimation.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { urlBasePath } from '~/utils/constants'
2+
13
export function useAnimation() {
24
// types
35
type TWindowType = 'sm' | 'md' | 'lg'
@@ -99,7 +101,7 @@ export function useAnimation() {
99101
x: (GAP + GRID) / 2 + col * (GAP + GRID),
100102
y: (GAP + GRID) / 2 + row * (GAP + GRID),
101103
rotate: 0,
102-
src: '',
104+
src: urlBasePath,
103105
key: `${row}-${col}`,
104106
}
105107
switch (p) {

0 commit comments

Comments
 (0)