12345678910111213141516 |
- export const state = () => ({
- configInfo: {},
- });
- export const mutations = {
- setConfigInfo(state, configInfo) {
- state.configInfo = configInfo;
- if (this.$cookies.get('can-use-cookie')) this.$cookies.set("config-info", configInfo, { maxAge: 2592000, path: '/' });
- },
- getConfigInfo(state) {
- state.configInfo = this.$cookies.get("config-info");
- },
- };
- export const actions = {
-
- };
-
|