JeecgBoot 前端如何開啟 Mock

adore-live發表於2024-10-27
  1. .env.development
VITE_GLOB_API_URL=/jeecgboot/mock
  1. src/settings/projectSetting.ts
permissionMode: PermissionModeEnum.ROUTE_MAPPING,
  1. 介面參考 mock/sys/user.ts
  2. 選單參考 mock/sys/menu.ts

相關文章