加载失败 :οnerrοr=“onerrorImg”,替换成默认图片 data() { return { onerrorImg: ‘this.src="’+require(’…/…/assets/logo/logo.png’)+’"’ } },