diff --git a/src/views/info.vue b/src/views/info.vue index c248a3b4..33821253 100644 --- a/src/views/info.vue +++ b/src/views/info.vue @@ -93,7 +93,8 @@ export default { }, methods: { getCodeValueo() { - const name =this.$route.query.codeVule + const params = new URLSearchParams(location.search); + const name = params.get("codeValue"); console.log(name); getCodeValueo({ codeValue: name }).then((response) => { this.form = response.data;