From 45b6ecd28b2f666d4e1adc84757853666e052c77 Mon Sep 17 00:00:00 2001 From: JilingLee <18850011309@139.com> Date: Mon, 18 Sep 2023 16:36:42 +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, 2 insertions(+), 1 deletion(-) 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;