|
|
@@ -253,7 +253,7 @@ export default {
|
|
|
type: "com", // com: 企业会员, dev: 开发者会员
|
|
|
currentType: 2,
|
|
|
vipInfo: {
|
|
|
- version:0
|
|
|
+ version:1
|
|
|
}
|
|
|
};
|
|
|
},
|
|
|
@@ -310,8 +310,17 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
},
|
|
|
- mounted() {
|
|
|
- const activeName = this.$route.query.activeName;
|
|
|
+ async mounted() {
|
|
|
+ await this.getVipInfo();
|
|
|
+ let activeName="";
|
|
|
+ if(this.vipInfo.version==1)
|
|
|
+ {
|
|
|
+ activeName = "developer";
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ activeName = this.$route.query.activeName;
|
|
|
+ }
|
|
|
const current = this.$route.query.current;
|
|
|
if (activeName === "enterprise") {
|
|
|
this.active = 1;
|
|
|
@@ -330,7 +339,6 @@ export default {
|
|
|
bridge.setNavigationBarColor('#00BF66');
|
|
|
}
|
|
|
}
|
|
|
- this.getVipInfo();
|
|
|
},
|
|
|
methods: {
|
|
|
async clickPay(type) {
|