我期望在click事件被触发后调用模拟函数。我得到的是:预期的呼叫数:1收到的呼叫数:0EventTestingWrapper.svelte export let testComponentexport let clickHandler <svelte:component this={testCompone
为此,Iam不为这个项目使用任何路由器,只是我从一个中型帖子中获取的一些示例代码,它使用svelte存储构建了一个简单和最小的路由器。router path // push the path into web browser history APIrouter path // push the path into web b