判断ANSWER_ID字段中是否有A
字段中的内容是“A,B,C,D”
<i class="iconfont " :class="item.ANSWER_ID && item.ANSWER_ID.indexOf('A') != -1 ? 'iconxuanze':'iconweixuanze '"></i>
判断ANSWER_ID字段中是否有A
字段中的内容是“A,B,C,D”
<i class="iconfont " :class="item.ANSWER_ID && item.ANSWER_ID.indexOf('A') != -1 ? 'iconxuanze':'iconweixuanze '"></i>
本文标题:判断字符串中是否有该选项
本文链接:https://www.haomeiwen.com/subject/peynlltx.html
网友评论