From ee85aced9eed6efe081745bc6020800e66e9f474 Mon Sep 17 00:00:00 2001
From: xingyy <64720302+Concur-max@users.noreply.github.com>
Date: Thu, 13 Feb 2025 11:59:29 +0800
Subject: [PATCH] =?UTF-8?q?refactor(profile):=20=E6=81=A2=E5=A4=8D?=
=?UTF-8?q?=E4=BD=9C=E5=93=81=E5=88=86=E7=BB=84=E5=92=8C=E6=8E=92=E5=BA=8F?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 重新启用 groupAndSortByDate 函数以对用户作品进行分组和排序
- 添加 finished属性到 van-list 组件以指示
---
app/pages/profile/index.vue | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/app/pages/profile/index.vue b/app/pages/profile/index.vue
index 20fdb07..becdfc5 100644
--- a/app/pages/profile/index.vue
+++ b/app/pages/profile/index.vue
@@ -32,8 +32,8 @@ const initData=async ()=>{
const res=await userArtworks({})
if (res.status===0){
myList.value=res.data.data
- // showMyList.value=groupAndSortByDate(myList.value)
- showMyList.value=[]
+ showMyList.value=groupAndSortByDate(myList.value)
+ // showMyList.value=[]
}
}
const router = useRouter()
@@ -93,8 +93,10 @@ const onRefresh = async () => {
{{ $t('home.refresh_show') }}