forked from devsam/core
fix: 이미지 경로에 빈칸이 있는 경우
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<div
|
||||
class="general-icon"
|
||||
:style="{
|
||||
backgroundImage: `url(${iconPath})`,
|
||||
backgroundImage: `url('${iconPath}')`,
|
||||
}"
|
||||
></div>
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
<div
|
||||
class="general-crew-type-icon"
|
||||
:style="{
|
||||
backgroundImage: `url(${imagePath}/crewtype${general.crewtype}.png)`,
|
||||
backgroundImage: `url('${imagePath}/crewtype${general.crewtype}.png')`,
|
||||
}"
|
||||
></div>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div
|
||||
class="general-icon"
|
||||
:style="{
|
||||
backgroundImage: `url(${iconPath})`,
|
||||
backgroundImage: `url('${iconPath}')`,
|
||||
}"
|
||||
></div>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
left: '0',
|
||||
width: '100%',
|
||||
height: `${props.height}px`,
|
||||
backgroundImage: `url(${imagePath}/pr${props.height - 2}.gif)`,
|
||||
backgroundImage: `url('${imagePath}/pr${props.height - 2}.gif')`,
|
||||
backgroundRepeat: 'repeat-x',
|
||||
backgroundPosition: 'center',
|
||||
}"
|
||||
@@ -30,7 +30,7 @@
|
||||
left: '0',
|
||||
width: `${clamp(props.percent, 0, 100)}%`,
|
||||
height: `${props.height}px`,
|
||||
backgroundImage: `url(${imagePath}/pb${props.height - 2}.gif)`,
|
||||
backgroundImage: `url('${imagePath}/pb${props.height - 2}.gif')`,
|
||||
backgroundRepeat: 'repeat-x',
|
||||
backgroundPosition: 'left center',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user