替换游戏名修改属性
This commit is contained in:
@@ -15,7 +15,8 @@ export type PublishForm = {
|
||||
login_method: string
|
||||
online_start: string
|
||||
online_end: string
|
||||
unlock_said: string
|
||||
/** 是否可以修改游戏名(是/否) */
|
||||
can_change_game_name: string
|
||||
/** 是否有全英雄(是/否) */
|
||||
all_hero: string
|
||||
ban_record: string
|
||||
|
||||
@@ -150,9 +150,9 @@ export function getListingChips(item: Listing): ListingDisplayChip[] {
|
||||
if (online) {
|
||||
chips.push({ label: '方便上号', value: online })
|
||||
}
|
||||
// 解锁赛伊德为必选项,仅在号主勾选「是」时展示
|
||||
if (readAssetString(item, 'unlock_said') === '是') {
|
||||
chips.push({ label: '解锁赛伊德', value: '是' })
|
||||
// 仅在号主确认可修改游戏名时展示。
|
||||
if (readAssetString(item, 'can_change_game_name') === '是') {
|
||||
chips.push({ label: '可修改游戏名', value: '是' })
|
||||
}
|
||||
// 全英雄为必选项,仅在号主勾选「是」时展示
|
||||
if (readAssetString(item, 'all_hero') === '是') {
|
||||
|
||||
Reference in New Issue
Block a user