mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-23 06:16:42 +08:00
v3.8.2 版本前端代码
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import { MockMethod } from 'vite-plugin-mock';
|
||||
import { resultError, resultSuccess, getRequestToken, requestParams, baseUrl } from '../_util';
|
||||
import { PageEnum } from '/@/enums/pageEnum';
|
||||
export function createFakeUserList() {
|
||||
return [
|
||||
{
|
||||
@ -10,7 +11,7 @@ export function createFakeUserList() {
|
||||
desc: 'manager',
|
||||
password: '123456',
|
||||
token: 'fakeToken1',
|
||||
homePath: '/dashboard/analysis',
|
||||
homePath: PageEnum.BASE_HOME,
|
||||
roles: [
|
||||
{
|
||||
roleName: 'Super Admin',
|
||||
@ -26,7 +27,7 @@ export function createFakeUserList() {
|
||||
avatar: 'https://q1.qlogo.cn/g?b=qq&nk=339449197&s=640',
|
||||
desc: 'tester',
|
||||
token: 'fakeToken2',
|
||||
homePath: '/dashboard/workbench',
|
||||
homePath: PageEnum.BASE_HOME,
|
||||
roles: [
|
||||
{
|
||||
roleName: 'Tester',
|
||||
|
||||
Reference in New Issue
Block a user