mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-10 11:26:49 +08:00
接口初始化 第一版
This commit is contained in:
@@ -8,5 +8,5 @@ const array = Object.keys(context).map(path =>
|
||||
url: module[url].split(' ')[0],
|
||||
method: module[url].split(' ').length > 1 ? module[url].split(' ')[1] : 'get',
|
||||
response: context[path].default[url]
|
||||
}))).reduce((r, m) => [...r, ...m])
|
||||
createProdMockServer([...array])
|
||||
}))).reduce((r, m) => [...r, ...m]);
|
||||
createProdMockServer([...array])
|
||||
|
||||
Reference in New Issue
Block a user