mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
fix: editor focus & picker highlight & ui (#2166)
* fix ui * fix editor focus & picker highlight
This commit is contained in:
@@ -86,7 +86,7 @@ export default function Editor({
|
||||
useDeepCompareEffect(() => {
|
||||
if (focus) return;
|
||||
setKey(getNanoid(6));
|
||||
}, [value, variables]);
|
||||
}, [value, variables, variableLabels]);
|
||||
|
||||
return (
|
||||
<Box position={'relative'} width={'full'} h={`${height}px`} cursor={'text'}>
|
||||
|
Reference in New Issue
Block a user