Commit 45c15e59 by liangzhen

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

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