删除 错误代码

This commit is contained in:
wangsongsole 2022-08-17 18:39:23 +08:00
parent f630a8c639
commit 1d992c42ec
2 changed files with 0 additions and 14 deletions

View File

@ -289,12 +289,6 @@ export default class acclist extends React.Component {
/* 获取商品列表 */
getProductFunction(id) {
if (
sessionStorage.getItem('productsList') &&
JSON.parse(sessionStorage.getItem('productsList'))?.length > 1
) {
return
}
getProductInfoSelect({ reseller_id: id }).then((res) => {
if (res.code === 200) {
sessionStorage.setItem('productsList', JSON.stringify(res.data.data))

View File

@ -131,14 +131,6 @@ export default class acclist extends React.Component {
this.setState({
direct_reseller_id: req.direct_reseller_id
})
if (
sessionStorage.getItem('productsList') &&
JSON.parse(sessionStorage.getItem('productsList'))?.length > 1
) {
return
}
/* 请求商品数据 */
getProductInfoSelect({
reseller_id: req.direct_reseller_id