|
|
@@ -208,9 +208,6 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
onPullDownRefresh() {
|
|
|
- this.init().then(res => {
|
|
|
- uni.stopPullDownRefresh();
|
|
|
- });
|
|
|
},
|
|
|
computed: {
|
|
|
...mapGetters({ loginInfo:"getLoginInfo" })
|
|
|
@@ -306,7 +303,7 @@ export default {
|
|
|
return `超出限购${info.currentBuyNum + info.exceedNum}份`
|
|
|
},
|
|
|
loginSuccess() {
|
|
|
- this.initData()
|
|
|
+ this.getBaseInfo()
|
|
|
},
|
|
|
//去特殊品种页,如小菊等
|
|
|
goToSpecialVariety(info){
|
|
|
@@ -339,6 +336,9 @@ export default {
|
|
|
this.$util.pageTo({url: "/pages/item/detail?id="+item.id+"&account="+account+'&hdId='+realHdId})
|
|
|
},
|
|
|
init(){
|
|
|
+ this.getBaseInfo()
|
|
|
+ },
|
|
|
+ getBaseInfo(){
|
|
|
this.init = false
|
|
|
|
|
|
if(this.option.hdId && Number(this.option.hdId) > 0){
|