fix: fix known issues with the form (#4696)

* fix: fix known issues with the form

* chore: typo

* chore: typo
This commit is contained in:
Vben
2024-10-20 22:34:11 +08:00
committed by GitHub
parent 93b48ef244
commit d262b7b6c0
14 changed files with 54 additions and 84 deletions

View File

@@ -12,12 +12,7 @@ const collapsed = defineModel({ default: false });
<template>
<div
:class="
cn(
'text-primary hover:text-primary-hover inline-flex cursor-pointer items-center',
props.class,
)
"
:class="cn('vben-link inline-flex items-center', props.class)"
@click="collapsed = !collapsed"
>
<slot :is-expanded="collapsed">