mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-25 09:20:36 +01:00
docs(ComponentCode): fix display of false value in select
This commit is contained in:
@@ -47,7 +47,7 @@ const componentEvents = reactive({
|
|||||||
})
|
})
|
||||||
|
|
||||||
function getComponentProp(name: string) {
|
function getComponentProp(name: string) {
|
||||||
return get(componentProps, name) || undefined
|
return get(componentProps, name) ?? undefined
|
||||||
}
|
}
|
||||||
|
|
||||||
function setComponentProp(name: string, value: any) {
|
function setComponentProp(name: string, value: any) {
|
||||||
|
|||||||
Reference in New Issue
Block a user