You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.4 KiB
27 lines
1.4 KiB
// +----------------------------------------------------------------------
|
|
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
|
// +----------------------------------------------------------------------
|
|
// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
|
|
// +----------------------------------------------------------------------
|
|
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
|
// +----------------------------------------------------------------------
|
|
// | Author: CRMEB Team <admin@crmeb.com>
|
|
// +----------------------------------------------------------------------
|
|
|
|
export default {
|
|
token: state => state.app.token,
|
|
isLogin: state => !!state.app.token,
|
|
backgroundColor: state => state.app.backgroundColor,
|
|
userInfo: state => state.app.userInfo || {},
|
|
uid:state => state.app.uid,
|
|
homeActive: state => state.app.homeActive,
|
|
home: state => state.app.home,
|
|
cartNum: state => state.indexData.cartNum,
|
|
activityTab: state => state.app.activityTab,
|
|
};
|
|
// export default {
|
|
// token: state => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJrYWlmYS5jcm1lYi5uZXQiLCJhdWQiOiJrYWlmYS5jcm1lYi5uZXQiLCJpYXQiOjE1NzcwODM1MzQsIm5iZiI6MTU3NzA4MzUzNCwiZXhwIjoxNTc3MDk0MzM0LCJqdGkiOnsiaWQiOjExMCwidHlwZSI6InVzZXIifX0.U-i1pbdRjyXI1gr79Uq2XBPZ89T8f5Ai9jwrR8woTwE',
|
|
// isLogin: state => true,
|
|
// backgroundColor: state => state.app.backgroundColor,
|
|
// userInfo: state => state.app.userInfo || {}
|
|
// };
|
|
|