|
@@ -17,7 +17,7 @@ var InformationPage = new Vue({
|
|
|
linkParams:{
|
|
|
path:'pages/seller/club/club-info',
|
|
|
query:'',
|
|
|
- env:'release'//正式"release",体验"trial",开发"develop"
|
|
|
+ env:'develop'//正式"release",体验"trial",开发"develop"
|
|
|
}
|
|
|
},
|
|
|
filters: {
|
|
@@ -148,6 +148,15 @@ var InformationPage = new Vue({
|
|
|
hidePopup:function(){// 隐藏弹窗
|
|
|
var _self = this;
|
|
|
_self.isShowPopup = false;
|
|
|
+ },
|
|
|
+ setEvens:function () { //设置环境
|
|
|
+ var siteEnv = $("#siteEnv").val();
|
|
|
+ var map = {
|
|
|
+ 0: 'develop',
|
|
|
+ 1: 'trial',
|
|
|
+ 2: 'release',
|
|
|
+ }
|
|
|
+ return map[siteEnv];
|
|
|
}
|
|
|
},
|
|
|
created: function () {
|
|
@@ -157,6 +166,8 @@ var InformationPage = new Vue({
|
|
|
var _this = this;
|
|
|
_this.clubId = _this.salesParams.clubId = getUrlParam("clubId");
|
|
|
_this.linkParams.query = `clubId=${_this.clubId}`;
|
|
|
+ _this.linkParams.env = _this.setEvens();
|
|
|
+ console.log('env',_this.linkParams.env);
|
|
|
_this.userClubRecordLinkage();
|
|
|
}
|
|
|
|