|
|
|
|
73
|
params: http.adornParams()
|
73
|
params: http.adornParams()
|
74
|
}).then(({data}) => {
|
74
|
}).then(({data}) => {
|
75
|
if (data && data.code === 0) {
|
75
|
if (data && data.code === 0) {
|
76
|
debugger
|
|
|
77
|
fnAddDynamicMenuRoutes(data.menuList)
|
76
|
fnAddDynamicMenuRoutes(data.menuList)
|
78
|
router.options.isAddDynamicMenuRoutes = true
|
77
|
router.options.isAddDynamicMenuRoutes = true
|
79
|
sessionStorage.setItem('menuList', JSON.stringify(data.menuList || '[]'))
|
78
|
sessionStorage.setItem('menuList', JSON.stringify(data.menuList || '[]'))
|