diff --git a/src/views/mall/trade/brokerage/user/BrokerageOrderListDialog.vue b/src/views/mall/trade/brokerage/user/BrokerageOrderListDialog.vue index 6fe4b4f4..7cff8a1b 100644 --- a/src/views/mall/trade/brokerage/user/BrokerageOrderListDialog.vue +++ b/src/views/mall/trade/brokerage/user/BrokerageOrderListDialog.vue @@ -135,10 +135,9 @@ const getList = async () => { loading.value = true try { // 处理全部的情况 - const userLevel = queryParams.sourceUserLevel === 0 ? undefined : queryParams.sourceUserLevel const data = await BrokerageRecordApi.getBrokerageRecordPage({ ...queryParams, - sourceUserLevel: userLevel + sourceUserLevel: queryParams.sourceUserLevel === 0 ? undefined : queryParams.sourceUserLevel }) list.value = data.list total.value = data.total