|
|
@@ -43,7 +43,7 @@
|
|
|
:key="track"
|
|
|
class="border border-gray-300 px-4 py-2 text-center font-medium"
|
|
|
>
|
|
|
- 第{{ getTrackName(track) }}道
|
|
|
+ 第{{ track }}道
|
|
|
</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
@@ -111,7 +111,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup name="GameEventGroupDetail" lang="ts">
|
|
|
-import { ref, onMounted, getCurrentInstance } from 'vue';
|
|
|
+import { ref, onMounted, getCurrentInstance, onUpdated } from 'vue';
|
|
|
import { useRoute, useRouter } from 'vue-router';
|
|
|
import { getGameEventGroup, generateGroups, getGroupResultFromDB } from '@/api/system/gameEventGroup';
|
|
|
import { getGameEventProject } from '@/api/system/gameEventProject';
|
|
|
@@ -296,6 +296,9 @@ const regenerateGroups = async () => {
|
|
|
const goBack = () => {
|
|
|
router.go(-1);
|
|
|
};
|
|
|
+onUpdated(() => {
|
|
|
+ getGroupInfo();
|
|
|
+});
|
|
|
|
|
|
onMounted(() => {
|
|
|
getGroupInfo();
|