refactor(list): improve form

This commit is contained in:
Kevin 2023-03-20 23:41:50 +08:00
parent 01d1a30413
commit 0418d05753
No known key found for this signature in database
GPG key ID: 68D73816CD641CDB
2 changed files with 55 additions and 75 deletions

View file

@ -16,7 +16,7 @@ useHeadFixed({
})
const paginatorRef = ref()
const inputRef = ref()
const inputRef = ref<HTMLInputElement>()
let actionError = $ref<string | undefined>(undefined)
let busy = $ref<boolean>(false)
const createText = ref('')
@ -78,7 +78,7 @@ onDeactivated(() => clearError(false))
<template #default="{ item }">
<ListEntry
:list="item"
@list-updated="updateEntry"
@update:list="updateEntry"
@list-removed="removeEntry"
/>
</template>