Commit 2b98f819 authored by fwz's avatar fwz

退出登录后登录设置选中首页

parent 88204685
...@@ -220,7 +220,6 @@ export default { ...@@ -220,7 +220,6 @@ export default {
if(e && e.url){ if(e && e.url){
this.superiorUrl = e.url this.superiorUrl = e.url
if(e.index){ if(e.index){
console.log(e.index)
this.superiorParam = e.index this.superiorParam = e.index
} }
......
...@@ -122,11 +122,11 @@ export default { ...@@ -122,11 +122,11 @@ export default {
}, },
onLoad(option) { onLoad(option) {
if(option && option.index){ if(option && option.index){
console.log(option.index)
console.log("---------------------------")
this.$nextTick(() => { this.$nextTick(() => {
let i = parseInt(option.index); let i = parseInt(option.index);
if(!i){
i= 0;
}
this.tabChange(i) this.tabChange(i)
this.$refs.myTab.current = i; this.$refs.myTab.current = i;
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment