fix(short-drama-agent-front): 修复测试警告与请求模拟

This commit is contained in:
GJ committed 2026-10-15 18:10:19 +08:00
1 parent 46f54548c7
commit a9370cdf50
8 files changed
+67 -18

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
import { RouterLinkStub } from '@vue/test-utils'
/** 独立挂载页面和组件时保留链接插槽与目标参数,不依赖完整路由环境。 */
export const routerLinkStubs = { RouterLink: RouterLinkStub }