refactor(menu): added component. Solve the menu stuck problem

This commit is contained in:
vben
2021-01-17 22:36:06 +08:00
parent 056fc13116
commit ff2b12b409
43 changed files with 1794 additions and 214 deletions

View File

@@ -39,7 +39,7 @@ export default [
// mock user login
{
url: '/api/login',
timeout: 1000,
timeout: 200,
method: 'post',
response: ({ body }) => {
const { username, password } = body;
@@ -62,7 +62,6 @@ export default [
},
{
url: '/api/getUserInfoById',
timeout: 200,
method: 'get',
response: ({ query }) => {
const { userId } = query;