替换游戏名修改属性
This commit is contained in:
@@ -17,7 +17,7 @@ export function defaultPublishForm(): PublishForm {
|
||||
login_method: '',
|
||||
online_start: '',
|
||||
online_end: '',
|
||||
unlock_said: '',
|
||||
can_change_game_name: '',
|
||||
all_hero: '',
|
||||
ban_record: '',
|
||||
common_regions: [],
|
||||
|
||||
@@ -308,7 +308,7 @@ export function usePublishForm(options: UsePublishFormOptions) {
|
||||
login_method: listing.login_platform || '',
|
||||
online_start: stringValue(onlineTime.start),
|
||||
online_end: stringValue(onlineTime.end),
|
||||
unlock_said: stringValue(summary.unlock_said),
|
||||
can_change_game_name: stringValue(summary.can_change_game_name),
|
||||
all_hero: stringValue(summary.all_hero),
|
||||
ban_record: stringValue(summary.ban_record),
|
||||
common_regions: stringArray(summary.common_regions),
|
||||
@@ -717,7 +717,7 @@ export function usePublishForm(options: UsePublishFormOptions) {
|
||||
}
|
||||
}
|
||||
if (pricing.banRecordOptions.value.length && !form.ban_record) return '请选择封禁记录'
|
||||
if (!form.unlock_said) return '请选择是否解锁赛伊德'
|
||||
if (!form.can_change_game_name) return '请选择是否可以修改游戏名'
|
||||
if (!form.all_hero) return '请选择是否有全英雄'
|
||||
if (form.depositAmountYuan === '' || Number(form.depositAmountYuan) < 0) return '请填写押金'
|
||||
if (!Number.isFinite(Number(form.depositAmountYuan))) return '押金格式不正确'
|
||||
@@ -818,7 +818,7 @@ export function usePublishForm(options: UsePublishFormOptions) {
|
||||
start: form.online_start,
|
||||
end: form.online_end,
|
||||
},
|
||||
unlock_said: form.unlock_said,
|
||||
can_change_game_name: form.can_change_game_name,
|
||||
all_hero: form.all_hero,
|
||||
ban_record: form.ban_record,
|
||||
common_regions: form.common_regions,
|
||||
|
||||
Reference in New Issue
Block a user