fix: 이미지 경로에 빈칸이 있는 경우
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user