Commit a0a4fe78 authored by 满振华's avatar 满振华

修改控件

parent 5efdec64
...@@ -13,7 +13,7 @@ export const ApolloTextArea = (props: ApolloTextAreaProps) => { ...@@ -13,7 +13,7 @@ export const ApolloTextArea = (props: ApolloTextAreaProps) => {
setCurValue(value); setCurValue(value);
}, [value]); }, [value]);
useEffect(() => { useEffect(() => {
if (value.length === cutLength) { if (value && value.length === cutLength) {
getMore(); getMore();
} }
}, []); }, []);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment