token问题修复3

This commit is contained in:
2023-08-23 13:43:11 +08:00
parent 30af198649
commit a81f755914
4 changed files with 4 additions and 13 deletions

View File

@ -153,8 +153,7 @@ export default {
const urlParams = new URLSearchParams(window.location.search);
const token = urlParams.get('token');
this.$toast("车辆编辑打印token" + token)
this.id=this.$route.params?.id || ''
this.$toast('id:' + this.id)
this.id=this.$route.params?.id
const selectElement = document.getElementById('mySelect');
selectElement.addEventListener('change', function() {
this.selectedOption=selectElement.value;
@ -180,9 +179,7 @@ export default {
this.isJoin=result.hasPolymerization.code
this.selectedOption=result.vehicleType;
this.serviceIds=result.serviceIds
// console.log("num",this.carNum,this.isJoin)
}
this.$toast('codeid:' + this.id)
},
change(e) {
// console.log("拖车服务",e)