Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/srs-police-affairs
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { getUserInfo } from '@/utils/auth' |
| | | import { getUserInfo,getToken } from '@/utils/auth' |
| | | export default { |
| | | data () { |
| | | return { |
| | |
| | | { |
| | | menuName: '运维管理', |
| | | openExternal: true, |
| | | path: 'http://10.141.11.11:8081/#/login' |
| | | path: 'http://192.168.0.126:1888/#/security/security' |
| | | } |
| | | ], |
| | | |
| | |
| | | */ |
| | | goToPath (params) { |
| | | if (params.openExternal) { |
| | | window.open(params.path) |
| | | var path = params.path + "?token=" + getToken() |
| | | console.log(path,3333) |
| | | window.open(path) |
| | | return |
| | | } |
| | | |