fix: 🐛 mock 修改导致卡死问题修复

Former-commit-id: 7c98d4f8045fe2784342801dd1dbb0bce2010a1b
This commit is contained in:
hxr
2023-09-14 23:47:42 +08:00
parent cf4a21499d
commit 0f30868968

View File

@@ -103,6 +103,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
ignore: /^\_/,
mockPath: "mock",
enable: mode === "development",
watchFiles: false,
}),
],
// 预加载项目必需的组件