no message

Former-commit-id: 4f114549b4f048298ef6d2bd37b7cb57ca4cecca
This commit is contained in:
liyang
2018-10-13 20:48:33 +08:00
parent 0a8abb19f1
commit 31d56143f5
2 changed files with 15 additions and 0 deletions
+5
View File
@@ -1,5 +1,10 @@
import Mock from 'mockjs'
// 补丁 解决 mock.js 影响 Cookie 携带
import MockCookie from './plugin/mock-cookie'
MockCookie(Mock)
// 导入所有的接口
const req = context => context.keys().map(context)
req(require.context('./api/', true, /\.js$/))