We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const model = useFusionTable(xxx, {manual: true}) mode.run({a: 1, b: 2, c: 3})
a b c都被丢失了。
The text was updated successfully, but these errors were encountered:
应该不是丢参数,而是manual模式有问题。看了下3.8.2版本有关的代码改动,去掉了manual的判断,会导致自动发起请求。另外我的业务场景是这么使用的。
const batchModel = useFusionTable(wrapGetTaskDetail, { manual: true, debounceWait: 100, });
我手动调用了batchModel.run(someBizParams)后,100毫秒后自动又发起了请求,后面发起的请求又把参数重新赋值到了allFormDataRef.current = defaultParams?.[1] || {};上,看代码而且是默认参数,导致覆盖了我业务参数。
batchModel.run(someBizParams)
allFormDataRef.current = defaultParams?.[1] || {};
Sorry, something went wrong.
No branches or pull requests
a b c都被丢失了。
The text was updated successfully, but these errors were encountered: