fix: 🐛 mock 修改导致卡死问题修复
Former-commit-id: 7c98d4f8045fe2784342801dd1dbb0bce2010a1b
This commit is contained in:
@@ -103,6 +103,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
|
|||||||
ignore: /^\_/,
|
ignore: /^\_/,
|
||||||
mockPath: "mock",
|
mockPath: "mock",
|
||||||
enable: mode === "development",
|
enable: mode === "development",
|
||||||
|
watchFiles: false,
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
// 预加载项目必需的组件
|
// 预加载项目必需的组件
|
||||||
|
|||||||
Reference in New Issue
Block a user