diff --git a/store/index.js b/store/index.js index 4fc1fa1..23182ac 100644 --- a/store/index.js +++ b/store/index.js @@ -77,6 +77,7 @@ const store = new Vuex.Store({ //护理站 //预约订单拒绝消息通知 integralopenPopup(contxt) { + const personRoleLoginFlag = uni.getStorageSync('personRoleLoginFlag'); wx.getSetting({ withSubscriptions: true, success(res) { @@ -92,7 +93,6 @@ const store = new Vuex.Store({ }, //预约订单接受消息通知 openPopup(contxt) { - const personRoleLoginFlag = uni.getStorageSync('personRoleLoginFlag'); wx.getSetting({ withSubscriptions: true, success(res) {