增加了 permissions: ['family1:bignote:list'],
| | |
| | | } |
| | | |
| | | // 获取验证码 |
| | | export function getCodeImg() { |
| | | console.log("-----") |
| | | return request({ |
| | | url: '/captchaImage', |
| | | headers: { |
| | | isToken: false |
| | | }, |
| | | method: 'get', |
| | | timeout: 20000 |
| | | }) |
| | | } |
| | | // export function getCodeImg() { |
| | | // console.log("-----") |
| | | // return request({ |
| | | // url: '/captchaImage', |
| | | // headers: { |
| | | // isToken: false |
| | | // }, |
| | | // method: 'get', |
| | | // timeout: 20000 |
| | | // }) |
| | | // } |
| | | |
| | | // 获取验证码 |
| | | export function getCodeImg() { |
| | |
| | | path: '/family1/bignote', |
| | | component: Layout, |
| | | // permissions: [], |
| | | permissions: ['family1:bignote:list'], |
| | | hidden: true, |
| | | children: [ |
| | | { |