12345678910111213141516171819 |
- const cate = {
- state: {
- // 当前终端平台
- cate_history: uni.getStorageSync('cate_history') ? uni.getStorageSync('cate_history') : []
- },
- mutations: {
- SET_CATE_HISTORY: (state, value) => {
- state.cate_history = value
- uni.setStorageSync('cate_history', state.cate_history)
- },
- },
- actions: {
- }
- }
- export default cate
|