mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 06:29:25 +08:00
fix(client): fix rerendering cause range bug (#2770)
This commit is contained in:
parent
cc7ec2ffd6
commit
a1ee2afabd
@ -213,7 +213,7 @@ export function TextArea(props) {
|
||||
if (!changed) {
|
||||
setRange([-1, 0, -1, 0]);
|
||||
}
|
||||
}, [value, keyLabelMap]);
|
||||
}, [value]);
|
||||
|
||||
useEffect(() => {
|
||||
const { current } = inputRef;
|
||||
|
Loading…
x
Reference in New Issue
Block a user