fix: 修复营销系统立减金编辑loading没消失

This commit is contained in:
zhangds 2022-10-17 15:31:47 +08:00
parent 221acec118
commit a5305cec9c
1 changed files with 2 additions and 0 deletions

View File

@ -867,6 +867,7 @@ const UseCouponAddEdit = forwardRef((props, ref) => {
//
let param = {
reseller_id: direct_reseller_ids,
type: 1,
};
getProductInfoSelect(param).then((res) => {
setState({ addProductBtnLoading: false, addGoldBtnLoading: false });
@ -928,6 +929,7 @@ const UseCouponAddEdit = forwardRef((props, ref) => {
/* 区分立减金 */
if (rowData.type === 2) {
let obj = rowData.only;
setState({ tableLoading: false });
setState({
product_title: "编辑立减金",
productData: obj,