全局:优化请求的提示

This commit is contained in:
YunaiV
2024-01-20 17:28:04 +08:00
parent 33d57fd7e5
commit 22139d9a2d
15 changed files with 172 additions and 110 deletions
+4
View File
@@ -39,6 +39,10 @@ const CartApi = {
return request({
url: '/trade/cart/list',
method: 'GET',
custom: {
showLoading: false,
auth: true,
},
});
},
};
+3
View File
@@ -59,6 +59,9 @@ const OrderApi = {
params: {
id,
},
custom: {
showLoading: false,
},
});
},
// 订单列表