Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2026-01-04 15:26:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1ef108ec51f9cbcbd2523957ef2a14d6cab15ece
1ef108ec
1 parent
a165178f
fix: 添加活动为空时的硬币收集提示
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
src/views/recall/ActivityHistoryPage.vue
src/views/recall/ActivityHistoryPage.vue
View file @
1ef108e
...
...
@@ -121,6 +121,12 @@ const handleGeneratePoster = (item) => {
}
const handleCollectCoins = async () => {
if (activities.value.length === 0) {
showToast({
message: '暂无活动可收集',
})
return
}
// 从缓存获取用户信息
const cachedUserInfo = localStorage.getItem('cached_user_info')
if (cachedUserInfo) {
...
...
Please
register
or
login
to post a comment