task#10595,crm系统跳转H5动态取参
This commit is contained in:
@ -53,7 +53,8 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.id = this.$route.params.id;
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
this.id = this.$route.params.id || urlParams.get('id');
|
||||
},
|
||||
async mounted() {
|
||||
await this.batchOrderCount();
|
||||
|
Reference in New Issue
Block a user