@@ -35,16 +35,16 @@ export default {
},
computed: {
permissionRoutes(){
- return this.routes.filter(route => this.isShow.includes(route.permission) || this.isShow.includes(Number(route.permission)))
+ return this.routes
}
mounted() {
document.title = "数据导航"
- if (!getParameterByName('code')) {
- this.login()
- } else {
- this.requestUserinfo()
- }
+ // if (!getParameterByName('code')) {
+ // this.login()
+ // } else {
+ // this.requestUserinfo()
+ // }
methods:{
goRouter(e,link){