|
@@ -100,6 +100,7 @@
|
|
|
},
|
|
|
data(){
|
|
|
return{
|
|
|
+ userId:0,
|
|
|
isIphoneX:this.$store.state.isIphoneX,
|
|
|
clickPath:'/search/pages/search/search-second',
|
|
|
isShowClose:false,
|
|
@@ -140,8 +141,11 @@
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
- this.setScrollHeight();
|
|
|
- this.gettabList();
|
|
|
+ this.setScrollHeight();
|
|
|
+ this.$api.getStorage().then((resolve) => {
|
|
|
+ this.userId = resolve.userId ? resolve.userId : '';
|
|
|
+ this.gettabList();
|
|
|
+ })
|
|
|
},
|
|
|
computed: {
|
|
|
...mapState(['hasLogin','userInfo','isWxAuthorize','identity'])
|
|
@@ -204,6 +208,7 @@
|
|
|
this.isShowEmpty = false;
|
|
|
if(loadMore) {this.pageNum += 1;}
|
|
|
let params = {
|
|
|
+ userId:this.userId,
|
|
|
secondHandType:this.currentId,
|
|
|
instrumentType:this.currentID2,
|
|
|
name:this.name,
|
|
@@ -280,7 +285,7 @@
|
|
|
}
|
|
|
},
|
|
|
onShow() {
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
</script>
|