@文心快码BaiduComate<suspense> slots expect a single root node. 文心快码BaiduComate 作为Comate,我很乐意为你解答关于<suspense>标签及其相关使用的问题。下面是对你问题的详细解答: 解释什么是<suspense>标签和它的作用: <suspense>标签是Vue 3中引入的一个新组件,它用于在异步组件或...
node; await Promise.all([...output.blockingList, ctxStore.waitForAll()]); mountTree(renderRoot); expect(container.children).toMatchInlineSnapshot(` HTMLCollection [ <my.tpl-l data-tpl-state-store-id="tpl-state-18" > <h1 /> <p /> <hr /> <h2 /> <my-use-brick /> </my.tpl-l...