Browse Source

修改传参

yun
corala 2 years ago
parent
commit
0519c75793
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      pages/center/consumer/consumerDetail.vue
  2. +1
    -1
      pages/mine/details2.vue

+ 2
- 2
pages/center/consumer/consumerDetail.vue View File

@@ -518,12 +518,12 @@
if (res[0].merge == 0) {
let newobj = res[0];
uni.navigateTo({
url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"2"}`
url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=2&wordFraction=${this.customerInfo.wordFraction}`
})
} else {
let newobj = res[0];
uni.navigateTo({
url: `/pages/mine/details?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"1"}`
url: `/pages/mine/details?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=1&wordFraction=${this.customerInfo.wordFraction}`
})
}
})


+ 1
- 1
pages/mine/details2.vue View File

@@ -634,7 +634,7 @@
this.status = options.status;
this.customerId = options.customerId;
this.KeyWordsfraction = options.wordFraction||0;
this.KeyWordsfraction = options.wordFraction=='undefined'?options.wordFraction:0;
this.itemobj = uni.getStorageSync('searchobj');
console.log(this.itemobj)
this.stateisshow = options.stateisshow;


Loading…
Cancel
Save