From 0906db435ff7e5b230b9077bb59657afa6d803c9 Mon Sep 17 00:00:00 2001 From: kevin jiang Date: Wed, 3 Jun 2020 14:41:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E5=B9=BF=E7=AE=A1=E7=90=86-=E9=9B=B6?= =?UTF-8?q?=E5=94=AE=E5=85=AC=E5=8F=B8=EF=BC=8C=E9=BB=98=E8=AE=A4=E4=B8=8D?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/shop/IncreaseStoreManager.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pages/shop/IncreaseStoreManager.vue b/src/pages/shop/IncreaseStoreManager.vue index 8553e44..bee0cd1 100644 --- a/src/pages/shop/IncreaseStoreManager.vue +++ b/src/pages/shop/IncreaseStoreManager.vue @@ -137,7 +137,7 @@ data() { return { loading: false, - userId: JSON.parse(sessionStorage.getItem("loginInfo")).userId, + userId: "", searchShop: null, total: 0, pageSize: 10, @@ -244,6 +244,9 @@ } } }, + created() { + this.userId = JSON.parse(sessionStorage.getItem("loginInfo")).userId; + }, mounted() { this.setMenuName("门店推广", "推广管理"); this.listOfStore();