var vm = new Vue({
el: "-sharpapp",
data: {
tabIndex: 0,
isCarrier: false,
carrierDispute: {
infoId:"${mbInfo.infoId}",
title:"${mbInfo.title}",
brief:"${mbInfo.brief}",
content:"${mbInfo.content}",
item: [],
addAttachmentList: [
<-sharpif mbInfo.addAttachmentList?exists>
<-sharplist mbInfo.addAttachmentList as attachment>
${attachment.id}
${attachment.orderNo}
${attachment.attachmentName}
${attachment.attachmentUrl}
</-sharplist>
</-sharpif>
]
}
},
output in this way, the error will be reported at ${attachment.id} at run time: Uncaught SyntaxError: Invalid or unexpected token
addAttachmentList: [
1300cedb0fc311e9ae5528e347618294
12fdc19a0fc311e9ae5528e347618294
7.png http://10.1.8.41:80/group1/M00/00/36/CgEIKVwuu82AIsuCAACbuTufRlw141.png
13049f6c0fc311e9ae5528e347618294
12fdc19a0fc311e9ae5528e347618294
8.png
http://10.1.8.41:80/group1/M00/00/36/CgEIKVwuu8-AQmYAAABlM71NEyI301.png
1305fefd0fc311e9ae5528e347618294
12fdc19a0fc311e9ae5528e347618294
9.png
http://10.1.8.41:80/group1/M00/00/36/CgEIKVwuu9GAGd3sAABlnVKB4kg072.png
]