修改智能导入

This commit is contained in:
筱野
2025-09-25 22:53:26 +08:00
parent e35e5068db
commit 8e1c486352
3 changed files with 12 additions and 12 deletions

View File

@@ -128,7 +128,7 @@ const PublishForm: React.FC<{
return '';
}
const getPlayersText = (players: { min: number, max: number, is_participate: boolean } | any) => {
const getPlayersText = (players: { min: number, max: number, organizer_joined: boolean } | any) => {
// 检查 players 是否为数组
if (!players.min || !players.max) {
console.warn('getPlayersText: players 不是有效的数组格式:', players);