Commit 69f9d506ab1afef09def19bed74ed90c6155318b

Authored by zhiyangdu
1 parent 87229b42

url获取参数兼容

src/pages/moreDynamic/moreDynamic.vue
... ... @@ -46,7 +46,7 @@
46 46  
47 47 // 获取证书请求接口
48 48 this.http("/Api/" + this.getApiVersion().dynamic + "/getNewDynamicList", {
49   - uid: this.$route.query.uid,
  49 + uid: this.getStore("uid") || 0,
50 50 page: this.pages,
51 51 type: 2
52 52 }, this.getNewDynamicListCallback, {
... ...
src/pages/recommendMore/recommendMore.vue
... ... @@ -138,7 +138,7 @@
138 138 // 请求接口
139 139 this.http("/Api/" + this.getApiVersion().dynamic + "/fansShop", {
140 140 id: item.id || 0,
141   - uid: this.$route.query.uid || 0
  141 + uid: this.getStore("uid") || 0
142 142 }, this.fansShopCallback, {
143 143 method: "post",
144 144 item
... ...