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.
duomendian/store/getters.js

17 lines
533 B

3 months ago
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,
diyProduct: state => state.app.diyProduct,
diyCategory: state => state.app.diyCategory,
productVideoStatus: state => state.app.productVideoStatus,
storeNum: state => state.app.storeNum
};