refactor(projects): use better-mock replace mockjs [用better-mock替换mockjs]

This commit is contained in:
Soybean
2023-05-06 19:33:45 +08:00
parent 34f023c4b1
commit 9d3c732993
4 changed files with 841 additions and 1544 deletions

View File

@ -1,4 +1,4 @@
import { mock } from 'mockjs';
import { mock } from 'better-mock';
import type { MockMethod } from 'vite-plugin-mock';
const apis: MockMethod[] = [