perf: standard code format in the views folder

This commit is contained in:
xiaoxian521
2022-05-14 10:53:06 +08:00
parent 1cf82eb7a4
commit 64326c4fb5
31 changed files with 228 additions and 166 deletions

View File

@@ -73,12 +73,12 @@ const cardLogoClass = computed(() => [
<IconifyIconOffline icon="more-vertical" class="icon-more" />
<template #dropdown>
<el-dropdown-menu :disabled="!product.isSetup">
<el-dropdown-item @click="handleClickManage(product)"
>管理</el-dropdown-item
>
<el-dropdown-item @click="handleClickDelete(product)"
>删除</el-dropdown-item
>
<el-dropdown-item @click="handleClickManage(product)">
管理
</el-dropdown-item>
<el-dropdown-item @click="handleClickDelete(product)">
删除
</el-dropdown-item>
</el-dropdown-menu>
</template>
</el-dropdown>

View File

@@ -139,9 +139,9 @@ const rules = {
</el-form>
<template #footer>
<el-button @click="closeDialog">取消</el-button>
<el-button type="primary" @click="submitForm(ruleFormRef)"
>确定</el-button
>
<el-button type="primary" @click="submitForm(ruleFormRef)">
确定
</el-button>
</template>
</el-dialog>
</template>