动态路由大体实现

This commit is contained in:
pixelqm
2019-09-14 22:30:04 +08:00
parent 6738d0eb1a
commit a0fab80d28
10 changed files with 298 additions and 72 deletions

View File

@@ -0,0 +1,12 @@
import service from '@/utils/request'
// @Summary 用户登录
// @Produce application/json
// @Param 可以什么都不填 调一下即可
// @Router /menu/getMenu [post]
export const asyncMenu = () => {
return service({
url: "/menu/getMenu",
method: 'post',
})
}