1、通过require() 引入图片:require('@/static/1.png')}, 2、引用背景图片:background-image:url('~@/static/logo.png');
:style="{backgroundImage:'url('+imagesrc+')'}"