Skip to content
Snippets Groups Projects
Commit 8fa2364a authored by Pan's avatar Pan Committed by 花裤衩
Browse files

add mock delay

parent 551e911e
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,10 @@ import articleAPI from './article'
import article_tableAPI from './article_table'
import remoteSearchAPI from './remoteSearch'
Mock.setup({
timeout: '350-600'
})
// 登录相关
Mock.mock(/\/login\/login/, 'post', loginAPI.loginByUsername)
Mock.mock(/\/login\/logout/, 'post', loginAPI.logout)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment