refactor(components): resolve conflict

This commit is contained in:
xiaojunnuo
2023-05-22 12:22:13 +08:00
12 changed files with 1239 additions and 645 deletions

View File

@@ -1,4 +1,4 @@
import betterMock from 'better-mock';
import { mock } from 'mockjs';
import type { MockMethod } from 'vite-plugin-mock';
const apis: MockMethod[] = [
@@ -6,7 +6,7 @@ const apis: MockMethod[] = [
url: '/mock/getAllUserList',
method: 'post',
response: (): Service.MockServiceResult<ApiUserManagement.User[]> => {
const data = betterMock.mock({
const data = mock({
'list|1000': [
{
id: '@id',