增加忽略商品
This commit is contained in:
@@ -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, '领取兑换失败')
|
||||
|
||||
Reference in New Issue
Block a user