@@ -267,9 +267,11 @@
optionType:1,
registAmount:null,
shareToken:"",
+ isFirst:true,
}
},
mounted() {
+ this.isFirst = true;
this.color4 = app.globalData.color4;
this.getData();
uni.$on("request",()=>{
@@ -281,7 +283,11 @@
this.toPage(projectId);
onShow() {
- this.getSingle();
+ if(!this.isFirst){
+ this.getSingle();
+ }else{
+ this.isFirst = false
+ }
onPullDownRefresh() {
@@ -313,8 +319,7 @@
this.pageNo = 1;
this.getUserInfo();
this.getHomePage();
- this.getRegistTask();
+ this.getRegistTask();
chooiceType(e){
this.city = e.city==''?"城市":(e.city).split('市')[0];