dashboard
repositories
filestore
activity
search
login
刘文浩
/
nsjcy
forked from
nsjcy/frontEnd/nsjcy
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
1
liuwh
2020-03-31
47c7a0503a119572bd1b9e2812510dd6792d95f0
[~liuwh/nsjcy.git]
/
SunshineIns
/
src
/
fetch
/
getMenu.js
1
2
3
4
import fetch from './_fetch';
import { message } from 'antd';
export default () => fetch(`api/user/getResource`)
.then(json => json).catch(error => message.error('菜单加载失败,请联系管理员', 2));;