Commit f2b393f3 authored by Bill's avatar Bill

Merge branch 'fix418' into 'v2-220418'

fix: 商品下架传入店铺相关信息 See merge request linkseeks-design/pro-platform!349
parents c29e1e4f d8d442b6
......@@ -671,10 +671,13 @@ const Products: React.FC<{}> = () => {
message.error(intl.formatMessage({ id: 'commodity.products.handleUp.error' }))
}
} else {
postProductCommodityOffPublishCommodity(params).then(res => {
setUpDownModal(false)
ref.current.reload()
setIsDisabledOKbtn(false)
const { memberId, memberRoleId } = getAuth() || {}
getTemplateWebMemberShopWebFindCurrMemberShop({ memberId, memberRoleId }).then(res => {
res.code === 1000 && postProductCommodityOffPublishCommodity({...params, storeId: res['data']['id'], storeName: res['data']['name'], storeLogo: res['data']['logo']}).then(() => {
setUpDownModal(false)
ref.current.reload()
setIsDisabledOKbtn(false)
})
})
}
}
......
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