This commit is contained in:
LiJianZhao 2025-04-27 11:28:37 +08:00
parent f1b356f7fc
commit 8cd43a043c
1 changed files with 3 additions and 3 deletions

View File

@ -219,8 +219,8 @@ const init = () => {
pageSize: 50 pageSize: 50
}; };
post("vip/vip/list", query).then((res: any) => { post("vip/vip/list", query).then((res: any) => {
list.value = res; list.value = res.list;
listItem.value = res[0]; listItem.value = res.list[0];
// //
list.value.forEach((item: any) => { list.value.forEach((item: any) => {
if (!item.levelId) return if (!item.levelId) return
@ -264,7 +264,7 @@ const purchase = (id: any) => {
pageSize: pageSize.value, pageSize: pageSize.value,
vipId: id vipId: id
} }
post('retail/list', {query}).then((res: any) => { post('charge/list', {query}).then((res: any) => {
tableData.value = res.list tableData.value = res.list
}) })
} }