增加忽略商品

This commit is contained in:
yml
2026-04-12 16:10:21 +08:00
parent eb5041ea60
commit 4c98b78267
18 changed files with 328 additions and 124 deletions
@@ -1,6 +1,6 @@
import { computed, onBeforeUnmount, ref, watch } from 'vue'
import { ElMessage } from 'element-plus'
import { showSuccess } from '@/lib/feedback'
import {
confirmClaimRole,
createClaimSession,
@@ -262,7 +262,7 @@ export function useClaimPage(token: string) {
detail.value = mergeClaimDetailData(detail.value, response.data)
roleConfirmed.value = true
ElMessage.success(response.msg || '角色已确认')
showSuccess(response.msg || '角色已确认')
restartPollingIfNeeded(response.data)
} catch (error) {
notifyTencentActionError(error, '角色确认失败')
@@ -289,7 +289,7 @@ export function useClaimPage(token: string) {
}
detail.value = mergeClaimDetailData(detail.value, response.data)
ElMessage.success(response.msg || '兑换完成')
showSuccess(response.msg || '兑换完成')
restartPollingIfNeeded(response.data)
} catch (error) {
notifyTencentActionError(error, '领取兑换失败')