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

@@ -107,7 +107,7 @@ onMounted(() => {
}"
@click="onControl(item, key)"
>
<span :class="'iconfont ' + item.icon"></span>
<span :class="'iconfont ' + item.icon" />
<p>{{ item.text }}</p>
</button>
</li>

View File

@@ -13,5 +13,5 @@ const props = defineProps({
:deep="3"
:showLength="true"
:data="props.graphData"
></vue-json-pretty>
/>
</template>

View File

@@ -44,7 +44,7 @@ const nodeDragNode = item => {
<div
v-if="item.type === 'user' || item.type === 'time'"
class="shape"
></div>
/>
</div>
<span class="node-label">{{ item.text }}</span>
</div>