u-cell title=会员姓名: + cardInfousername v-if=cardInfousername怎么在会员姓名:后面加上两个空格
您可以在会员姓名后面直接加上两个空格,代码如下:
<u-cell :title="`会员姓名: ${cardInfo.username}`" v-if="cardInfo.username"></u-cell>
这样会在会员姓名后面添加两个空格。
原文地址: http://www.cveoy.top/t/topic/iHeq 著作权归作者所有。请勿转载和采集!