feat: 重新整理目录结构,mock请求

This commit is contained in:
kailong321200875
2023-11-30 11:34:39 +08:00
parent c8400abd9f
commit 179ab2672f
27 changed files with 96 additions and 112 deletions

View File

@@ -1,3 +1,5 @@
import { SUCCESS_CODE } from '@/constants'
const delay = 1000
const dictObj: Recordable = {
@@ -25,7 +27,7 @@ export default [
delay,
body: () => {
return {
code: 0,
code: SUCCESS_CODE,
data: dictObj
}
}
@@ -37,7 +39,7 @@ export default [
delay,
body: () => {
return {
code: 0,
code: SUCCESS_CODE,
data: [
{
label: 'test1',