【缺陷修复】分销: 推广订单列表用户类型检索

pull/623/MERGE
YunaiV 2024-12-07 10:12:44 +08:00
parent 2efd0d69d9
commit 1f19b567c2
1 changed files with 1 additions and 2 deletions

View File

@ -135,10 +135,9 @@ const getList = async () => {
loading.value = true loading.value = true
try { try {
// //
const userLevel = queryParams.sourceUserLevel === 0 ? undefined : queryParams.sourceUserLevel
const data = await BrokerageRecordApi.getBrokerageRecordPage({ const data = await BrokerageRecordApi.getBrokerageRecordPage({
...queryParams, ...queryParams,
sourceUserLevel: userLevel sourceUserLevel: queryParams.sourceUserLevel === 0 ? undefined : queryParams.sourceUserLevel
}) })
list.value = data.list list.value = data.list
total.value = data.total total.value = data.total