feat: add vue/html-self-closing eslint

This commit is contained in:
xiaoxian521
2022-03-21 15:40:29 +08:00
parent 7beb3e63fe
commit 997711b264
39 changed files with 121 additions and 144 deletions

View File

@@ -498,7 +498,7 @@ defineExpose({
:class="leftSwitchClass"
@click="leftSwitchClick"
>
<slot name="left-switch"></slot>
<slot name="left-switch" />
</div>
<div
:style="rightSwitch"
@@ -506,7 +506,7 @@ defineExpose({
:class="rightSwitchClass"
@click="rightSwitchClick"
>
<slot name="right-switch"></slot>
<slot name="right-switch" />
</div>
<div
:ref="'realBox' + classOption['key']"
@@ -519,9 +519,9 @@ defineExpose({
@mousewheel="wheel"
>
<div :ref="'slotList' + classOption['key']" :style="float">
<slot></slot>
<slot />
</div>
<div v-html="copyHtml" :style="float"></div>
<div v-html="copyHtml" :style="float" />
</div>
</div>
</template>