jiangping
2024-05-31 bf8d85d5f83c2036fb4239d764d33e99c1b62bd3
h5/store/index.js
@@ -18,7 +18,7 @@
const store = new Vuex.Store({
   state: {
      openId: openId || '',
      openId: openId || '061kuG0006hxcS13TT200w9VIp4kuG09',
      member: member || null,
      statusbarHeight: statusbarHeight || '0',
      navHeight: navHeight || '0',
@@ -72,7 +72,7 @@
      // 清空所有缓存
      empty(state) {
         state.token = ''
         state.userInfo = ''
         state.userInfo = {}
         uni.removeStorageSync('userInfo')
         uni.removeStorageSync('token')
      }