refactor(@vben/web-antd): remove store mocks and fix staff type checks

This commit is contained in:
2026-02-17 15:29:38 +08:00
parent af21caf2a7
commit e868cdbefc
11 changed files with 21 additions and 3066 deletions

View File

@@ -3,8 +3,8 @@ import { unmountGlobalLoading } from '@vben/utils';
import { overridesPreferences } from './preferences';
// 开发环境启用 Mock 数据
if (import.meta.env.DEV) {
// 仅在显式开启时启用 Mock 数据
if (import.meta.env.DEV && import.meta.env.VITE_NITRO_MOCK === 'true') {
import('./mock');
}