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