From 3cdabd71e1bef43bf3bae3c51fe2b10b9bf65a04 Mon Sep 17 00:00:00 2001 From: CHAN-MINATO <898043143@qq.com> Date: Thu, 9 Feb 2023 17:40:45 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=A0=B9=E6=8D=AE=E5=9F=BA=E5=9C=B0id?= =?UTF-8?q?=E5=8F=98=E5=8C=96=E9=80=89=E6=8B=A9=E8=8E=B7=E5=8F=96=E5=9F=BA?= =?UTF-8?q?=E5=9C=B0=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix 根据基地id变化选择获取基地名称 --- pages/purchase/apply.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/purchase/apply.vue b/pages/purchase/apply.vue index 64b41ad..762af56 100644 --- a/pages/purchase/apply.vue +++ b/pages/purchase/apply.vue @@ -152,7 +152,7 @@ export default { async init(){ var res=await request("/api/purchase/purchaseUserShow",{ params:{ - plantBaseInfoId:this.$store.getters['userInfo'].plantBaseInfoId, + plantBaseInfoId:this.$store.state.plantBaseInfoId, } }) if(res.statu){