fix: 이미지 경로에 빈칸이 있는 경우

This commit is contained in:
2024-12-20 15:50:38 +00:00
parent 7b5613d032
commit b472440ec1
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
v-if="city.color"
:class="`city_bg b${city.color.substring(1)}`"
:style="{
backgroundImage: `url(${imagePath}/b${city.color.substring(1).toUpperCase()}.png)`,
backgroundImage: `url('${imagePath}/b${city.color.substring(1).toUpperCase()}.png')`,
}"
></div>