refactor(logs): update date filtering logic and improve UI for log entries
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user