mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
refactor(dify-ui): govern public component APIs (#39806)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
3aa937def4
commit
563cf2602f
115 files changed
+2378
-975
No files matched your search
@@ -39,7 +39,7 @@ const Operator = ({
|
||||
onMouseDown={(event) => {
|
||||
event.preventDefault()
|
||||
event.stopPropagation()
|
||||
;(event as typeof event & { preventBaseUIHandler?: () => void }).preventBaseUIHandler?.()
|
||||
event.preventBaseUIHandler()
|
||||
setOpen((prev) => !prev)
|
||||
}}
|
||||
onClick={(event) => event.stopPropagation()}
|
||||
|
||||
Reference in new issue
Block a user