token问题修复

This commit is contained in:
2023-08-23 11:40:47 +08:00
parent 5418074081
commit 5ab689430d
5 changed files with 13 additions and 6 deletions

View File

@ -150,6 +150,9 @@ export default {
}
},
async mounted() {
const urlParams = new URLSearchParams(window.location.search);
const token = urlParams.get('token');
this.$toast("车辆编辑打印token",token)
this.id=this.$route.query?.id || ''
this.$toast('id:', this.id)
const selectElement = document.getElementById('mySelect');