|
|
@ -17,6 +17,7 @@ const store = new Vuex.Store({ |
|
|
|
customerPhone : '',//客服电话
|
|
|
|
productDetail : {},//商品详情用于中转
|
|
|
|
cartInfo : {},//采购商下单的时候供应商开户行信息
|
|
|
|
pic : '',//清关服务图片
|
|
|
|
}, |
|
|
|
getters: { |
|
|
|
// 角色 true 为供应商 false 为采购商
|
|
|
@ -85,6 +86,7 @@ const store = new Vuex.Store({ |
|
|
|
|
|
|
|
state.buy = res.result.buy |
|
|
|
state.shopData = res.result.shop |
|
|
|
state.pic = res.result.pic |
|
|
|
|
|
|
|
// 如果什么身份都没有,就去注册
|
|
|
|
if(!state.shopData && !state.buy){ |
|
|
|