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
update方法中
const newNodes = await Promise.all(nodes.map((node) => this.doUpdate(node))); 改成 const newNodes: MNode[] = []; (async () => { for (const node of nodes) { const newNode = await this.doUpdate(node) newNodes.push(newNode); } })() 后亲测可用
const newNodes = await Promise.all(nodes.map((node) => this.doUpdate(node)));
const newNodes: MNode[] = [];
(async () => {
for (const node of nodes) {
const newNode = await this.doUpdate(node)
newNodes.push(newNode);
}
})()
The text was updated successfully, but these errors were encountered:
什么场景的操作会同时修改到父子节点?
Sorry, something went wrong.
No branches or pull requests
update方法中
const newNodes = await Promise.all(nodes.map((node) => this.doUpdate(node)));
改成
const newNodes: MNode[] = [];
(async () => {
for (const node of nodes) {
const newNode = await this.doUpdate(node)
newNodes.push(newNode);
}
})()
后亲测可用
The text was updated successfully, but these errors were encountered: