feat: bulk edit

This commit is contained in:
Joel
2024-02-28 15:01:58 +08:00
parent df173764d2
commit 76ff004ea5
18 changed files with 321 additions and 11 deletions

View File

@ -16,7 +16,7 @@ const useKeyValueList = (value: string) => {
}, [])
const [isKeyValueEdit, {
toggle: toggleIsKeyValueEdit,
}] = useBoolean(true)
}] = useBoolean(false)
return {
list: list.length === 0 ? [{ key: '', value: '' }] : list, // no item can not add new item
setList,