mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-19 01:15:53 +08:00
bug修改
This commit is contained in:
@@ -11,7 +11,7 @@ export default new Vuex.Store({
|
||||
state: {
|
||||
category: [], // 全部分类
|
||||
navList: [],
|
||||
cartNum: storage.getItem('cartNum') || 0
|
||||
cartNum: storage.getItem('userInfo') ? storage.getItem('cartNum') : 0
|
||||
},
|
||||
getters,
|
||||
actions,
|
||||
|
||||
Reference in New Issue
Block a user