1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

小问题修改

This commit is contained in:
程序员小墨 2023-07-16 12:12:37 +08:00
parent 0e9115bb06
commit 9e0663bbc0
2 changed files with 4 additions and 5 deletions

View File

@ -60,11 +60,10 @@ public class GoodController {
// return Res.success(list);
// 小程序商品列表页 划线价格 未划线价格 写反了所以接口这里也反过来写
return Res.success(list.stream().map(i -> {
return Res.success(list.stream().peek(i -> {
Double retailPrice = i.getRetailPrice();
i.setCounterPrice(i.getCounterPrice());
i.setRetailPrice(retailPrice);
return i;
i.setRetailPrice(i.getCounterPrice());
i.setCounterPrice(retailPrice);
}).collect(Collectors.toList()));
}

View File

@ -506,7 +506,7 @@ const handleDelete = (index: number, row: any) => {
//
const handleExport = async () => {
let params = {};
//
//
if (exportConfig.value.withFilter) {
params = JSON.parse(JSON.stringify(query))
//