|
|
@@ -161,7 +161,7 @@ const getTeamName = (teamId: string | number | undefined) => {
|
|
|
const getGroupInfo = async () => {
|
|
|
try {
|
|
|
loading.value = true;
|
|
|
- const groupId = route.query.id;
|
|
|
+ const groupId = route.params.groupId;
|
|
|
if (!groupId || Array.isArray(groupId)) {
|
|
|
proxy?.$modal.msgError('分组ID不能为空');
|
|
|
return;
|
|
|
@@ -183,7 +183,7 @@ const getGroupInfo = async () => {
|
|
|
// 从数据库加载分组结果
|
|
|
const loadGroupResultFromDB = async () => {
|
|
|
try {
|
|
|
- const groupId = route.query.id;
|
|
|
+ const groupId = route.params.groupId;
|
|
|
if (!groupId || Array.isArray(groupId)) {
|
|
|
proxy?.$modal.msgError('分组ID不能为空');
|
|
|
return;
|
|
|
@@ -240,7 +240,7 @@ const generateGroupsData = async () => {
|
|
|
try {
|
|
|
generating.value = true;
|
|
|
|
|
|
- const groupId = route.query.id;
|
|
|
+ const groupId = route.params.groupId;
|
|
|
if (!groupId || Array.isArray(groupId)) {
|
|
|
proxy?.$modal.msgError('分组ID不能为空');
|
|
|
return;
|