iview中的Col在vue/html-self-closing中识别错误

1,443 阅读1分钟

eslint-plugin-vue v5.2.2

目前只能使用i-col替代

<Row>
    <!--  ----- fix before ----- -->
    <Col></Col>  <!-- <= 被识别成了无内容的<col> 然后分别被fix成<Col/>和 </Col> -->
    <!-- -------fix after ------ -->
    <!-- => <Col /> </Col> -->
</Row>