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();