查了半天,网上都是教人改webpack配置(很无语……) 解决方法: 在原图片;路径后面加上?url // example <img src="@/assets/imgs/stop.svg?url" alt="" />