mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 09:28:04 +08:00
feat: bulk edit
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user