refactor: ♻️ eslint 代码规范调整

This commit is contained in:
ray
2024-10-13 10:42:48 +08:00
parent 72eb87d005
commit a4ef6eb696
66 changed files with 376 additions and 376 deletions

View File

@@ -20,7 +20,7 @@
<el-col v-show="!item.hidden" v-bind="item.col">
<el-form-item :label="item.label" :prop="item.prop">
<!-- Label -->
<template #label v-if="item.tips">
<template v-if="item.tips" #label>
<span>
{{ item.label }}
<el-tooltip
@@ -69,8 +69,8 @@
<!-- switch 开关 -->
<template v-else-if="item.type === 'switch'">
<el-switch
inline-prompt
v-model="formData[item.prop]"
inline-prompt
v-bind="item.attrs"
/>
</template>
@@ -122,7 +122,7 @@
:prop="item.prop"
:formData="formData"
:attrs="item.attrs"
></slot>
/>
</template>
</el-form-item>
</el-col>
@@ -165,7 +165,7 @@
<el-col v-show="!item.hidden" v-bind="item.col">
<el-form-item :label="item.label" :prop="item.prop">
<!-- Label -->
<template #label v-if="item.tips">
<template v-if="item.tips" #label>
<span>
{{ item.label }}
<el-tooltip
@@ -220,8 +220,8 @@
<!-- switch 开关 -->
<template v-else-if="item.type === 'switch'">
<el-switch
inline-prompt
v-model="formData[item.prop]"
inline-prompt
v-bind="item.attrs"
/>
</template>
@@ -273,7 +273,7 @@
:prop="item.prop"
:formData="formData"
:attrs="item.attrs"
></slot>
/>
</template>
</el-form-item>
</el-col>