mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
docs: format the tree-select component code (#17726)
style: Modify code format
This commit is contained in:
parent
0670bba618
commit
3e6acead57
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user