Commit bd3fa41a authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 处理渠道商品上架店铺id错误

parent 2487be6b
...@@ -303,7 +303,7 @@ const DirectChannel: React.FC<{}> = () => { ...@@ -303,7 +303,7 @@ const DirectChannel: React.FC<{}> = () => {
PublicApi.getTemplateWebMemberChannelWebFindCurrMemberChannel().then(res => { PublicApi.getTemplateWebMemberChannelWebFindCurrMemberChannel().then(res => {
if(res.data.id){ if(res.data.id){
setCheckedValues(values) setCheckedValues(values)
setShopId(res.data.shopId) setShopId(res.data.id)
}else{ }else{
message.error('您还没有开通店铺,无法上下架商品!') message.error('您还没有开通店铺,无法上下架商品!')
} }
......
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 to comment