在data中引用图片
作者:互联网
在data中引用图片:
videoPictureUrl: require('@/assets/cover.jpg'),
img: require("../../assets/imgs/shuliang1.png"),
在data中引入背景图片:
:style="{ backgroundImage: item.backgroundImage }"
backgroundImage: "url(" + require("../../assets/imgs/bg1.png") + ")",
标签:assets,..,require,backgroundImage,引用,imgs,data,图片 来源: https://www.cnblogs.com/ruyijiang/p/15904160.html