添加全局提示插件

This commit is contained in:
chenghx
2018-08-03 16:07:09 +08:00
parent 4b8ad9e558
commit 6bc0f1f074
3 changed files with 4 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ Mock.mock('/login', 'post', ({body}) => {
result.message = '账户名或密码错误admin/888888'
} else {
result.code = 0
result.message = '登录成功'
result.message = Mock.mock('@TIMEFIX') + ',欢迎回来'
}
return result
})