mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-21 01:21:54 +08:00
fix platform selection v-model
This commit is contained in:
parent
ea683d22b7
commit
8cedfa8f51
@ -238,7 +238,7 @@ useHead(
|
||||
<h2 class="mt-5 mb-2 text-xl">{{ t("version.new.form.platforms") }}</h2>
|
||||
<div v-for="platform in platforms" :key="platform.name" class="ml-2">
|
||||
<InputCheckbox
|
||||
:v-model="selectedPlatforms.includes(platform.enumName)"
|
||||
:model-value="selectedPlatforms.includes(platform.enumName)"
|
||||
:rules="platformVersionRules"
|
||||
:label="platform.name"
|
||||
@change="togglePlatform(platform.enumName)"
|
||||
|
Loading…
Reference in New Issue
Block a user