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

@@ -67,7 +67,7 @@ const filterMethod = (query: string, node: treeNode) => {
placeholder="请输入关键字查找"
clearable
@input="onQueryChanged"
></el-input>
/>
<el-tree-v2
ref="treeRef"
:data="menusData"

View File

@@ -159,8 +159,7 @@ const tableData: User[] = [
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
/>
</el-select>
<el-button size="small" type="primary" @click="onPrint"
>打印</el-button
@@ -233,16 +232,12 @@ const tableData: User[] = [
:cell-style="cellStyle"
:data="demo1.tableData"
>
<vxe-column type="seq" width="60"></vxe-column>
<vxe-column field="name" title="Name"></vxe-column>
<vxe-column field="sex" title="Sex"></vxe-column>
<vxe-column field="age" title="Age"></vxe-column>
<vxe-column field="attr1" title="Attr1"></vxe-column>
<vxe-column
field="address"
title="Address"
show-overflow
></vxe-column>
<vxe-column type="seq" width="60" />
<vxe-column field="name" title="Name" />
<vxe-column field="sex" title="Sex" />
<vxe-column field="age" title="Age" />
<vxe-column field="attr1" title="Attr1" />
<vxe-column field="address" title="Address" show-overflow />
</vxe-table>
</el-col>

View File

@@ -20,7 +20,7 @@ const { setWatermark, clear } = useWatermark();
style="width: 200px"
v-model="value"
clearable
></el-input>
/>
<span>请选择要创建水印的颜色</span
><el-color-picker v-model="color" show-alpha />
<br />

View File

@@ -13,7 +13,7 @@ const url = ref(`${VITE_PUBLIC_PATH}html/button.html`);
<span class="font-medium">通过iframe引入按钮页面</span>
</div>
</template>
<iframe :src="url" frameborder="0" class="iframe"></iframe>
<iframe :src="url" frameborder="0" class="iframe" />
</el-card>
</template>

View File

@@ -101,7 +101,7 @@ function changeDirection(val) {
>
<ul class="item">
<li v-for="(item, index) in listData" :key="index">
<span class="title" v-text="item.title"></span>
<span class="title" v-text="item.title" />
</li>
</ul>
</SeamlessScroll>

View File

@@ -40,7 +40,7 @@ onMounted(() => {
>
</div>
</template>
<div id="mse"></div>
<div id="mse" />
</el-card>
</template>

View File

@@ -43,8 +43,8 @@ onBeforeUnmount(() => {
>
</div>
</template>
<div ref="editor"></div>
<div :innerHTML="html"></div>
<div ref="editor" />
<div :innerHTML="html" />
</el-card>
</template>

View File

@@ -81,11 +81,11 @@ onMounted(() => {
:lf="lf"
:catTurboData="false"
@catData="catData"
></Control>
/>
<!-- 节点面板 -->
<NodePanel :lf="lf" :nodeList="nodeList"></NodePanel>
<NodePanel :lf="lf" :nodeList="nodeList" />
<!-- 画布 -->
<div id="LF-Turbo"></div>
<div id="LF-Turbo" />
<!-- 数据查看面板 -->
<el-dialog
customClass="flow-dialog"
@@ -94,7 +94,7 @@ onMounted(() => {
width="50%"
>
<el-scrollbar>
<DataDialog :graphData="graphData"></DataDialog>
<DataDialog :graphData="graphData" />
</el-scrollbar>
</el-dialog>
</div>

View File

@@ -73,7 +73,7 @@ function onPwdBlur() {
<img :src="bg" class="wave" />
<div class="login-container">
<div class="img">
<component :is="currentWeek"></component>
<component :is="currentWeek" />
</div>
<div class="login-box">
<div class="login-form">

View File

@@ -24,8 +24,8 @@ function changRole(value) {
<template #header>
<div class="card-header">
<el-radio-group v-model="auth" @change="changRole">
<el-radio-button label="admin"></el-radio-button>
<el-radio-button label="test"></el-radio-button>
<el-radio-button label="admin" />
<el-radio-button label="test" />
</el-radio-group>
</div>
</template>

View File

@@ -58,15 +58,15 @@ const { lastBuildTime } = __APP_INFO__;
>
<path
d="M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z"
></path>
/>
</svg>
催一下
</span>
</p>
</template>
</el-step>
<el-step title="财务复核"></el-step>
<el-step title="完成"></el-step>
<el-step title="财务复核" />
<el-step title="完成" />
</el-steps>
</div>
</el-card>

View File

@@ -87,7 +87,7 @@ const checkboxChangeEvent: VxeTableEvents.CheckboxChange = ({ records }) => {
destroy-on-close
size="640px"
>
<el-divider></el-divider>
<el-divider />
<!-- 列表 -->
<div class="list">
<vxe-table
@@ -97,9 +97,9 @@ const checkboxChangeEvent: VxeTableEvents.CheckboxChange = ({ records }) => {
@checkbox-change="checkboxChangeEvent"
@checkbox-all="checkboxChangeEvent"
>
<vxe-table-column type="checkbox" width="60"></vxe-table-column>
<vxe-table-column field="name" title="名称"></vxe-table-column>
<vxe-table-column field="dataval" title="数据值"></vxe-table-column>
<vxe-table-column type="checkbox" width="60" />
<vxe-table-column field="name" title="名称" />
<vxe-table-column field="dataval" title="数据值" />
<vxe-table-column title="操作" fixed="right">
<template #default="{ row }">
<vxe-button
@@ -139,7 +139,7 @@ const checkboxChangeEvent: VxeTableEvents.CheckboxChange = ({ records }) => {
v-model="configData.isAllChecked"
:indeterminate="configData.isIndeterminate"
@change="changeAllEvent"
></vxe-checkbox>
/>
<span class="select-count"
>已选中{{ configData.selectRecords.length }}</span
>

View File

@@ -214,7 +214,7 @@ function handleClose() {
v-model="dictData.filterName"
:placeholder="t('buttons.hssearch')"
@keyup="searchEvent"
></vxe-input>
/>
</template>
<template #tools>
<vxe-button
@@ -251,11 +251,7 @@ function handleClose() {
:data="dictData.tableData"
@cell-dblclick="cellDBLClickEvent"
>
<vxe-table-column
tree-node
field="name"
title="字典名称"
></vxe-table-column>
<vxe-table-column tree-node field="name" title="字典名称" />
<vxe-table-column title="字典类型">
<template #default="{ row }">
<el-tooltip
@@ -312,7 +308,7 @@ function handleClose() {
title-align="right"
title-width="100"
@submit="submitEvent"
></vxe-form>
/>
</template>
</vxe-modal>

View File

@@ -218,5 +218,5 @@ const gridOptions = reactive({
</script>
<template>
<vxe-grid v-bind="gridOptions"></vxe-grid>
<vxe-grid v-bind="gridOptions" />
</template>