Commit 45c15e59 by liangzhen

权限名称以及刷新页面修改

1 parent c8f6a34b
...@@ -426,7 +426,7 @@ export function trendsRules(type) { ...@@ -426,7 +426,7 @@ export function trendsRules(type) {
} }
} }
export function defaultRouter() { export function defaultRouter() {
sessionStorage.setItem("author", "sgtig_weizheng"); sessionStorage.setItem("author", "sgitg_weizheng");
sessionStorage.setItem("authorName",99); sessionStorage.setItem("authorName",99);
let type=sessionStorage.getItem('authorName') let type=sessionStorage.getItem('authorName')
console.log( type,'hahaha ') console.log( type,'hahaha ')
......
...@@ -103,6 +103,10 @@ export default { ...@@ -103,6 +103,10 @@ export default {
}; };
}, },
mounted(){ mounted(){
if(this.$route.path=='/analysisCore'){
this.active=6
}
// this.$router.push({ path:" /mainLayout" }); // this.$router.push({ path:" /mainLayout" });
}, },
methods:{ methods:{
......
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
children: [ children: [
{ {
name: "魏征", name: "魏征",
code: "sgtig_weizheng", code: "sgitg_weizheng",
children: [], children: [],
}, },
], ],
...@@ -154,10 +154,7 @@ export default { ...@@ -154,10 +154,7 @@ export default {
}, },
mounted() { mounted() {
//进页面默认权限 直接配置刷新一直是这个了
// this.authority =99;
// this.autho="sgtig_weizheng"
}, },
methods: { methods: {
handleResize() { handleResize() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!