fix: can not create category by click in category select component (#4658)

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/4662/head^2
Ryan Wang 2023-09-26 14:32:00 +08:00 committed by GitHub
parent 1585a268ed
commit 97c92d03cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -293,6 +293,7 @@ const handleDelete = () => {
v-if="text.trim() && !searchResults?.length"
v-permission="['system:posts:manage']"
class="group flex cursor-pointer items-center justify-between rounded bg-gray-100 p-2"
@click="handleCreateCategory"
>
<span class="text-xs text-gray-700 group-hover:text-gray-900">
{{