From 97d9ca045019d9577ee439a0584216b525eef5af Mon Sep 17 00:00:00 2001 From: JilingLee <18850011309@139.com> Date: Mon, 18 Sep 2023 16:28:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A3=85=E5=86=8C=E6=89=AB=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/info.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;