...
 
Commits (2)
    https://gitcode.net/ai100/ai100-activity/-/commit/b4b38fd9f9e7ff51d5276ac8f7eda127c8ed42bc :hammer: fix activity 2023-09-14T11:15:02+08:00 layyback 505187749@qq.com https://gitcode.net/ai100/ai100-activity/-/commit/426f60f78004461de1d680d9e23beacbbc78e1be fix:更新代码 2023-09-18T11:40:03+08:00 张峻 zhangjun@zhangjundeMacBook-Pro.local
...@@ -104,7 +104,9 @@ const getActivityList = () => { ...@@ -104,7 +104,9 @@ const getActivityList = () => {
} }
}) })
.then(({ data: res }) => { .then(({ data: res }) => {
isActive.value = res?.data?.length; isActive.value = res?.data?.find(item => {
return item.id === activityId;
});
}); });
}; };
......