12345678910111213141516 |
- "use strict";
- const common_vendor = require("../../common/vendor.js");
- const cate = {
- state: {
- // 当前终端平台
- cate_history: common_vendor.index.getStorageSync("cate_history") ? common_vendor.index.getStorageSync("cate_history") : []
- },
- mutations: {
- SET_CATE_HISTORY: (state, value) => {
- state.cate_history = value;
- common_vendor.index.setStorageSync("cate_history", state.cate_history);
- }
- },
- actions: {}
- };
- exports.cate = cate;
|