From 11f794ee33771f9c1bab2d417247717d268896b5 Mon Sep 17 00:00:00 2001 From: whycwx <1272078254@qq.com> Date: 星期五, 06 八月 2021 08:55:54 +0800 Subject: [PATCH] 参数功能 --- src/pages/functionList/functionList.vue | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/pages/functionList/functionList.vue b/src/pages/functionList/functionList.vue index 9ad99fa..b31fcd8 100644 --- a/src/pages/functionList/functionList.vue +++ b/src/pages/functionList/functionList.vue @@ -27,17 +27,16 @@ } }, mounted(){ - + }, methods: { ok:function(val){ let self = this; + let obj = this.$route.query; + obj.num = val; self.$router.push({ path: '/parameter', - query:{ - id:1001, - num:val - } + query:obj }) } }, -- Gitblit v1.9.1