给样式背景赋值:
:style="{backgroundImage:'url(' + otherInfo.head_image + ')'}"
<img :src="'__ROOT__/upload/'+mesay.message"
v-if="message.type == 'text'"
2022-05-17 12:19:15
给样式背景赋值:
:style="{backgroundImage:'url(' + otherInfo.head_image + ')'}"
<img :src="'__ROOT__/upload/'+mesay.message"
v-if="message.type == 'text'"