Commit c716b6b8 by 肖康

购物车数量

parent f9710bfa
Showing with 1 additions and 1 deletions
......@@ -13,7 +13,7 @@ const state = {
const mutations = {
cartCount(state, payload) {
state.cartCount = payload.data ?payload.data : '';
state.cartCount = payload.data ?payload.data : 0;
},
loginCheck(state, payload) {
if (payload.data.err_code == 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment