优化登录的逻辑,

This commit is contained in:
gaoxs
2020-03-18 19:01:12 +08:00
parent 1b507e7396
commit 4cc4c60a87
18 changed files with 1222 additions and 1183 deletions

View File

@ -43,22 +43,18 @@ export default {
...mapState(["tabtarIndex"])
},
methods: {
...mapActions(["changeTabtar"])
},
mounted() {
let type = this.$yroute.query.type;
console.log(2222)
if (type) {
this.changeTabtar(type);
}
// if (!this.tabtarIndex) {
// this.changeTabtar(0);
// }
},
onHide() {
console.log("清除状态");
// this.changeTabtar(0);
}
};
</script>