<div v-for="src of item.images" class="img2" :style="{backgroundImage:"url("+src+")"}"></div>
item.images=["http://xx/1.jpg","http://xx/2.jpg","http://xx/3.jpg"];
srcbackgroundImageurl" /" ":"
<div v-for="src of item.images" class="img2" :style="{backgroundImage:"url("+src+")"}"></div>
item.images=["http://xx/1.jpg","http://xx/2.jpg","http://xx/3.jpg"];
srcbackgroundImageurl" /" ":"
the current apparent path has a reason for \ u
. Paste a specific string.
found the problem. There is something wrong with the address coming from the backend "http://yf.xx.com\dangjian\public\uploads\2b8d247dfb5a89d74319fe8342d2f0f7.jpg"
escape character
appears