refactor(logs): update date filtering logic and improve UI for log entries

This commit is contained in:
nepiedg
2026-04-27 00:31:52 +08:00
parent a39f1371a3
commit 4d68477a13
2 changed files with 53 additions and 58 deletions
+2 -1
View File
@@ -142,6 +142,7 @@ const profileStore = useProfileStore()
const userStore = useUserStore()
const { waitForLogin } = useLogin()
const { proxy } = getCurrentInstance()
const MEDALLION_IMAGE = '../../static/achievements/theme-medallion.png'
const navBarHeight = ref(0)
const latestNSTIResult = ref(null)
@@ -529,7 +530,7 @@ async function handleSaveAchievementPoster() {
await fetchPosterData()
const [qrPath, medallionInfo] = await Promise.all([
downloadMiniProgramTestCode({ path: 'pages/index/index', width: 240 }).catch(() => ''),
getImageInfo('/static/achievements/theme-medallion.png')
getImageInfo(MEDALLION_IMAGE)
])
const posterPath = await drawAchievementPoster(qrPath, medallionInfo)
await savePosterToAlbum(posterPath)