|
@@ -252,7 +252,7 @@ export default {
|
|
|
},
|
|
|
async beforeRouteLeave(to, from, next) {
|
|
|
if (this.activeIndex == 1) {
|
|
|
- console.log(await this.$refs.teamBaseInfo.setStore('go'))
|
|
|
+ // console.log(await this.$refs.teamBaseInfo.setStore('go'))
|
|
|
if (await this.$refs.teamBaseInfo.setStore('go')) {
|
|
|
next();
|
|
|
}
|
|
@@ -319,12 +319,7 @@ export default {
|
|
|
this.teamid = this.$route.query.id;
|
|
|
},
|
|
|
checkGoTo() {
|
|
|
- // if (val.name != 1 && this.$refs.teamBaseInfo) {
|
|
|
- // await this.$refs.teamBaseInfo.setStore();
|
|
|
- // }
|
|
|
- console.log('checkGoTo')
|
|
|
var p = new Promise(async (resolve, reject) => {
|
|
|
- console.log(resolve, reject)
|
|
|
if (this.activeIndex == 1 && this.$refs.teamBaseInfo) {
|
|
|
if (await this.$refs.teamBaseInfo.setStore('go')) {
|
|
|
resolve();
|