mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-12 04:16:54 +08:00
feat: frontend multi models support (#804)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com> Co-authored-by: Joel <iamjoel007@gmail.com>
This commit is contained in:
@@ -14,7 +14,6 @@ export const useValidate: (value: ValidateValue) => [DebouncedFunc<(validateCall
|
||||
setValidatedStatus({})
|
||||
return
|
||||
}
|
||||
|
||||
setValidating(true)
|
||||
|
||||
if (validateCallback.run) {
|
||||
@@ -26,7 +25,7 @@ export const useValidate: (value: ValidateValue) => [DebouncedFunc<(validateCall
|
||||
|
||||
setValidating(false)
|
||||
}
|
||||
}, { wait: 500 })
|
||||
}, { wait: 1000 })
|
||||
|
||||
return [run, validating, validatedStatus]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user