123456789101112131415 |
- import actions from "./actions"
- import mutations from "./mutations"
- const state = {
- openId: uni.getStorageSync('recycle_mobile_openId') || '',
- token: uni.getStorageSync('recycle_mobile_token') || '',
- name: uni.getStorageSync('recycle_mobile_name') || '',
- avatar: uni.getStorageSync('recycle_mobile_avatar') || '',
- }
- export default {
- namespaced: true,
- state,
- mutations,
- actions
- }
|