docs(components): [config-provider] example error (#19355)

* docs(components): [config-provider] example error

* chore: format

---------

Co-authored-by: btea <2356281422@qq.com>
This commit is contained in:
妙码生花
2024-12-22 21:06:42 +08:00
committed by GitHub
parent a0c2048264
commit f378bafc7b

View File

@@ -1,5 +1,8 @@
<template>
<el-config-provider :value-on-clear="null" :empty-values="[undefined, null]">
<el-config-provider
:value-on-clear="() => null"
:empty-values="[undefined, null]"
>
<div class="flex flex-wrap gap-4 items-center">
<el-select
v-model="value1"