1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > 解决Irregular whitespace not allowed带来的错误

解决Irregular whitespace not allowed带来的错误

时间:2021-10-02 04:08:30

相关推荐

解决Irregular whitespace not allowed带来的错误

vue中使用eslint带来的错误

Irregular whitespace not allowed

这个东西的出现导致我无法提交代码,然后为了解决这个问题,想了很多

最后决定用组件的插槽slot去解决它

<Steps :current="1" direction="vertical"><div v-for="(item, index) in lookPaymentOrderLogs" :key="index"><Step v-if="item.content=='审批通过'" status="finish" class="stepClass"><template slot="title"><div><span style="display: inline-block;margin: 0 20px;">{{item.content}}</span><span style="display: inline-block;margin: 0 20px;">{{item.operator}}</span><span style="display: inline-block;margin: 0 20px;">{{item.operateTime}}</span></div></template></Step><Step v-if="item.content=='审批驳回' " status="error"><template slot="title"><div><span style="display: inline-block;margin: 0 20px;">{{item.content}}</span><span style="display: inline-block;margin: 0 20px;">{{item.operator}}</span><span style="display: inline-block;margin: 0 20px;">{{item.operateTime}}</span></div></template></Step><Step v-if="item.content=='待审批' " status="process"><template slot="title"><div><span style="display: inline-block;margin: 0 20px;">{{item.content}}</span><span style="display: inline-block;margin: 0 20px;">{{item.operator}}</span><span style="display: inline-block;margin: 0 20px;">{{item.operateTime}}</span></div></template></Step></div></Steps>

最后在去看看你代码报错没!!!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。