根据接口修改
This commit is contained in:
@@ -6,6 +6,7 @@ Component({
|
||||
*/
|
||||
properties: {
|
||||
meterInfo: Object,
|
||||
routeId: String,
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -20,9 +21,10 @@ Component({
|
||||
*/
|
||||
methods: {
|
||||
jumpToHistory() {
|
||||
const { meterInfo } = this.data;
|
||||
const { meterInfo, routeId } = this.data;
|
||||
console.log("meterInfo", meterInfo)
|
||||
wx.navigateTo({
|
||||
url: `/pages/readingHistory/index?meter=${meterInfo?.id}&park=${meterInfo?.parkId}`,
|
||||
url: `/pages/readingHistory/index?meter=${meterInfo?.id}&park=${meterInfo?.parkId}&routeId=${routeId}`,
|
||||
})
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user