删除 错误代码
This commit is contained in:
parent
f630a8c639
commit
1d992c42ec
|
@ -289,12 +289,6 @@ export default class acclist extends React.Component {
|
||||||
|
|
||||||
/* 获取商品列表 */
|
/* 获取商品列表 */
|
||||||
getProductFunction(id) {
|
getProductFunction(id) {
|
||||||
if (
|
|
||||||
sessionStorage.getItem('productsList') &&
|
|
||||||
JSON.parse(sessionStorage.getItem('productsList'))?.length > 1
|
|
||||||
) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
getProductInfoSelect({ reseller_id: id }).then((res) => {
|
getProductInfoSelect({ reseller_id: id }).then((res) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
sessionStorage.setItem('productsList', JSON.stringify(res.data.data))
|
sessionStorage.setItem('productsList', JSON.stringify(res.data.data))
|
||||||
|
|
|
@ -131,14 +131,6 @@ export default class acclist extends React.Component {
|
||||||
this.setState({
|
this.setState({
|
||||||
direct_reseller_id: req.direct_reseller_id
|
direct_reseller_id: req.direct_reseller_id
|
||||||
})
|
})
|
||||||
|
|
||||||
if (
|
|
||||||
sessionStorage.getItem('productsList') &&
|
|
||||||
JSON.parse(sessionStorage.getItem('productsList'))?.length > 1
|
|
||||||
) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 请求商品数据 */
|
/* 请求商品数据 */
|
||||||
getProductInfoSelect({
|
getProductInfoSelect({
|
||||||
reseller_id: req.direct_reseller_id
|
reseller_id: req.direct_reseller_id
|
||||||
|
|
Loading…
Reference in New Issue