perf:rm mock api timeout

This commit is contained in:
Pan 2017-11-30 18:04:00 +08:00
parent 38192b828d
commit 8ce571b61d

View file

@ -4,9 +4,9 @@ import articleAPI from './article'
import remoteSearchAPI from './remoteSearch' import remoteSearchAPI from './remoteSearch'
import transactionAPI from './transaction' import transactionAPI from './transaction'
Mock.setup({ // Mock.setup({
timeout: '350-600' // timeout: '350-600'
}) // })
// 登录相关 // 登录相关
Mock.mock(/\/login\/login/, 'post', loginAPI.loginByUsername) Mock.mock(/\/login\/login/, 'post', loginAPI.loginByUsername)