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

@@ -122,19 +122,25 @@ const onLoadData = treeNode => {
<el-card>
<template #header>
<div class="card-header">
<span class="font-medium"
>仿antdv树选择采用<el-link
<span class="font-medium">
仿antdv树选择采用
<el-link
href="https://www.npmjs.com/package/@pureadmin/components"
target="_blank"
style="font-size: 16px; margin: 0 4px 5px"
>@pureadmin/components</el-link
>完全兼容antdv的<el-link
>
@pureadmin/components
</el-link>
完全兼容antdv的
<el-link
href="https://next.antdv.com/components/tree-select-cn"
target="_blank"
style="font-size: 16px; margin: 0 4px 5px"
>TreeSelect</el-link
>写法</span
>
>
TreeSelect
</el-link>
写法
</span>
</div>
</template>
<div class="flex justify-around flex-wrap">
@@ -171,9 +177,9 @@ const onLoadData = treeNode => {
:max-tag-count="10"
>
<template #title="{ title, value }">
<span v-if="value === '0-0-1-0'" style="color: #1890ff">{{
title
}}</span>
<span v-if="value === '0-0-1-0'" style="color: #1890ff">
{{ title }}
</span>
<template v-else>{{ title }}</template>
</template>
</TreeSelect>