dev
This commit is contained in:
parent
f1b356f7fc
commit
8cd43a043c
|
|
@ -219,8 +219,8 @@ const init = () => {
|
|||
pageSize: 50
|
||||
};
|
||||
post("vip/vip/list", query).then((res: any) => {
|
||||
list.value = res;
|
||||
listItem.value = res[0];
|
||||
list.value = res.list;
|
||||
listItem.value = res.list[0];
|
||||
// 向每个对象添加新的属性
|
||||
list.value.forEach((item: any) => {
|
||||
if (!item.levelId) return
|
||||
|
|
@ -264,7 +264,7 @@ const purchase = (id: any) => {
|
|||
pageSize: pageSize.value,
|
||||
vipId: id
|
||||
}
|
||||
post('retail/list', {query}).then((res: any) => {
|
||||
post('charge/list', {query}).then((res: any) => {
|
||||
tableData.value = res.list
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue