fix(config): 恢复开发和测试环境API配置

- 将开发环境API_BASE_URL从线上地址改回本地地址
- 在开发环境注释掉线上API地址配置
- 将测试环境API_BASE_URL从线上地址改回本地地址
- 在测试环境注释掉线上API地址配置

fix(order): 修复待收货状态下订单操作权限控制

- 在待收货状态判断条件中增加orderStatus !== 6的限制
- 防止已完成订单在待收货状态下显示查看物流和确认收货按钮
This commit is contained in:
2026-02-04 15:10:31 +08:00
parent 174f9458e2
commit afe8f93c32
2 changed files with 5 additions and 4 deletions

View File

@@ -785,7 +785,7 @@ function OrderList(props: OrderListProps) {
)}
{/* 待收货状态:显示查看物流和确认收货 */}
{item.deliveryStatus === 20 && (!item.riderId || !!item.sendEndTime) && item.orderStatus !== 2 && (
{item.deliveryStatus === 20 && (!item.riderId || !!item.sendEndTime) && item.orderStatus !== 2 && item.orderStatus !== 6 && (
<Space>
<Button size={'small'} onClick={(e) => {
e.stopPropagation();