task#11094,后台跳转H5参数bug修复
This commit is contained in:
@ -73,7 +73,7 @@ export default {
|
|||||||
const urlParams = new URLSearchParams(window.location.search);
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
console.log("urlParams.get('id')",urlParams.get('id'))
|
console.log("urlParams.get('id')",urlParams.get('id'))
|
||||||
console.log("=========",this.$route)
|
console.log("=========",this.$route)
|
||||||
this.id = this.$route.params.id || this.$route.params.batchCode;
|
this.id =urlParams.get('id') || this.$route.params.id || this.$route.params.batchCode;
|
||||||
this.activeIndex=this.$route.params?.activeIndex || 0
|
this.activeIndex=this.$route.params?.activeIndex || 0
|
||||||
await this.batchOrderCount();
|
await this.batchOrderCount();
|
||||||
await this.getList()
|
await this.getList()
|
||||||
|
Reference in New Issue
Block a user