docs: format the tree-select component code (#17726)

style: Modify code format
This commit is contained in:
k983551019 2024-07-31 21:48:17 +08:00 committed by GitHub
parent 0670bba618
commit 3e6acead57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,8 +1,8 @@
<template>
<el-tree-select v-model="value" :data="data" style="width: 240px">
<template #default="{ data: { label } }">
{{ label }}<span style="color: gray">(suffix)</span></template
>
{{ label }}<span style="color: gray">(suffix)</span>
</template>
</el-tree-select>
<el-divider />
use render content: