diff --git a/src/pages/sparring/result.vue b/src/pages/sparring/result.vue
index 5d262aa4..a466503c 100644
--- a/src/pages/sparring/result.vue
+++ b/src/pages/sparring/result.vue
@@ -75,6 +75,8 @@
+
+
@@ -102,6 +104,11 @@
import {
partnerChatReport
} from "@/api/sparring.js"
+ import badge from '@/components/points-and-badge/badge';
+ import points from '@/components/points-and-badge/points';
+ import usePointsAndBadge from '@/components/points-and-badge/usePointsAndBadge';
+
+ const { pointAndBadgesRun, badgeRef, pointsRef } = usePointsAndBadge();
const traId = ref('')
const execId = ref('')
const talkingType = ref('')
@@ -240,6 +247,9 @@
isLoading.value = false
setTimeout(() => {
showLoading.value = false
+ if(isPass.value){
+ pointAndBadgesRun(isPreview.value ? '07': '08', '', ()=>{})
+ }
}, 800)
} else {
setTimeout(getData, 2000)
diff --git a/src/pages/sparring/tip.vue b/src/pages/sparring/tip.vue
index 37784c21..601e486c 100644
--- a/src/pages/sparring/tip.vue
+++ b/src/pages/sparring/tip.vue
@@ -423,9 +423,10 @@
watchFlag.value = 1;
socketStore?.closeSocket();
changePlayItemId('')
- pointAndBadgesRun(talkingType.value === '01'? '07': '08', null, ()=>{
- common.navigateTo('/pages/sparring/result?isOver=1&traId=' + traId.value + '&execId=' + execId.value + '&type=' + talkingType.value + '&isPreview=' + (isPreview.value ?'1':''))
- })
+ common.navigateTo('/pages/sparring/result?isOver=1&traId=' + traId.value + '&execId=' + execId.value + '&type=' + talkingType.value + '&isPreview=' + (isPreview.value ?'1':''))
+ // pointAndBadgesRun(talkingType.value === '01'? '07': '08', '', ()=>{
+ // common.navigateTo('/pages/sparring/result?isOver=1&traId=' + traId.value + '&execId=' + execId.value + '&type=' + talkingType.value + '&isPreview=' + (isPreview.value ?'1':''))
+ // })
})
}
})