zhaoxiaoqiang
2023-08-25 9583630b27fdd2f2566995a78d8238ce504f3523
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * @Author: zxq
 * @Date: 2022-03-11 09:23:58
 * @LastEditors: zxq
 * @LastEditTime: 2023-03-06 17:26:31
 * @Description: Description
 * @FilePath: \qyp-plat\src\store\getters.js
 */
 
const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  userId:state => state.user.userId,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
}
export default getters