修改删除逻辑
This commit is contained in:
@@ -572,6 +572,7 @@ export default {
|
|||||||
if (!val) {
|
if (!val) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
$('#returnProfits').chlidren().remove();
|
||||||
let returnProfits = val.returnProfits;
|
let returnProfits = val.returnProfits;
|
||||||
if (!returnProfits || returnProfits.length <= 0) {
|
if (!returnProfits || returnProfits.length <= 0) {
|
||||||
return;
|
return;
|
||||||
@@ -647,6 +648,8 @@ export default {
|
|||||||
});
|
});
|
||||||
$('#returnProfit' + index).remove();
|
$('#returnProfit' + index).remove();
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
$('#returnProfit' + index).remove();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user