diff --git a/src/App.vue b/src/App.vue index c8162f8..f825319 100644 --- a/src/App.vue +++ b/src/App.vue @@ -26,7 +26,7 @@ function _getCustomerList() { } getCustomerList(config.value.smallUrl, params).then(({ code, data }) => { if (code === HTTP_CODE.ERR_OK) { - customerList.value = [...data.list, ...customerList.value] + customerList.value = data.list } }) } diff --git a/src/components/ScrollListItem/ScrollListItem.vue b/src/components/ScrollListItem/ScrollListItem.vue index a15ca4f..4513b6b 100644 --- a/src/components/ScrollListItem/ScrollListItem.vue +++ b/src/components/ScrollListItem/ScrollListItem.vue @@ -14,7 +14,7 @@ {{ formatDate(customer.addTime) }} - +