29 lines
357 B
JavaScript
29 lines
357 B
JavaScript
|
import {
|
||
|
getUserInfo,
|
||
|
Appversion
|
||
|
} from "../../api/user.js";
|
||
|
import {
|
||
|
LOGIN_STATUS,
|
||
|
UID,
|
||
|
USER_INFO
|
||
|
} from '../../config/cache';
|
||
|
import Cache from '../../utils/cache';
|
||
|
|
||
|
const state = {
|
||
|
storage: {},
|
||
|
};
|
||
|
|
||
|
const mutations = {
|
||
|
setStorage(state, data) {
|
||
|
state.storage = data;
|
||
|
},
|
||
|
};
|
||
|
|
||
|
const actions = {
|
||
|
};
|
||
|
|
||
|
export default {
|
||
|
state,
|
||
|
mutations,
|
||
|
actions
|
||
|
};
|