mirror of
https://github.com/langgenius/dify.git
synced 2026-04-12 14:10:42 +08:00
fix: webapp get boolean value
This commit is contained in:
parent
efa28453be
commit
e3e4369358
@ -207,6 +207,14 @@ export const useChatWithHistory = (installedAppInfo?: InstalledApp) => {
|
||||
type: 'number',
|
||||
}
|
||||
}
|
||||
|
||||
if(item.boolean) {
|
||||
return {
|
||||
...item.boolean,
|
||||
default: false,
|
||||
type: 'boolean',
|
||||
}
|
||||
}
|
||||
if (item.select) {
|
||||
const isInputInOptions = item.select.options.includes(initInputs[item.select.variable])
|
||||
return {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user