- {{ currentGroup }}
+
+ {{
+ currentGroup === allGroups ? allGroups.description : currentGroup
+ }}
+
@@ -15,7 +19,7 @@
:key="item"
@click="handleGroupClick(item)"
>
- {{ item }}
+ {{ item === allGroups ? allGroups.description : item }}
@@ -81,6 +85,7 @@ import router from '@/router';
import { Group } from '@/constants/team';
import { computed } from 'vue';
import { useI18n } from 'vue-i18n';
+import allGroups from '../allGroups';
interface CandidateInfo {
name: string;
@@ -96,13 +101,17 @@ const props = defineProps<{
const { t } = useI18n();
-const currentGroup = defineModel