-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
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
Concurrency control when requesting the kernel API #9939
Comments
我看好像返回状态是 200 哦,具体是什么表现? |
api调用成功,但是查看块属性时发现并没有成功设置属性。 |
是被覆盖了还是? |
暂时无法确定重现步骤,我先关闭了,后续如果有测试代码或者重现步骤请随时跟帖,谢谢。 |
最简单的方式: fetchSyncPost('/api/riff/addRiffCards',{"deckID":"20230218211946-2kw8jgx","blockIDs":["20230428155440-s8hzxrz"]})
fetchSyncPost('/api/attr/setBlockAttrs',{"id":"20230428155440-s8hzxrz","attrs":{"custom-attr1":"true"}})
fetchSyncPost('/api/attr/setBlockAttrs',{"id":"20230428155440-s8hzxrz","attrs":{"custom-attr2":"true"}})
fetchSyncPost('/api/attr/setBlockAttrs',{"id":"20230428155440-s8hzxrz","attrs":{"custom-attr3":"true"}})
fetchSyncPost('/api/attr/setBlockAttrs',{"id":"20230428155440-s8hzxrz","attrs":{"custom-attr4":"true"}}) |
好的,稍晚点我试试。 |
可以重现问题了,下个版本改进,感谢反馈。 |
88250
added a commit
that referenced
this issue
Dec 22, 2023
88250
added a commit
that referenced
this issue
Dec 22, 2023
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
并发执行api失败
Is there an existing issue for this?
Can the issue be reproduced with the default theme (daylight/midnight)?
Could the issue be due to extensions?
Describe the problem
最终的结果是块中缺失属性。
Expected result
两者都能正确地执行
Screenshot or screen recording presentation
No response
Version environment
Log file
无需日志
More information
No response
The text was updated successfully, but these errors were encountered: