@@ -39,11 +39,20 @@
|
||||
<v-checkbox v-model="modelValue.shuffle" hide-details label="Shuffle questions"></v-checkbox>
|
||||
<v-number-input density="compact" label="Correct answer points" v-model="modelValue.questionPoints"></v-number-input>
|
||||
<v-number-input density="compact" label="Wrong answer penalty points" v-model="modelValue.questionPenalty"></v-number-input>
|
||||
<v-select v-model="modelValue.style" :items="styles" density="compact" label="VIsual style"></v-select>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props:['modelValue'],
|
||||
data(){
|
||||
return {
|
||||
styles:[
|
||||
{ title: 'Lake reeds', value: 'quiz.gltf' },
|
||||
{ title: 'Grass and pavement pathway', value: 'quiz-s2.gltf' }
|
||||
]
|
||||
}
|
||||
},
|
||||
mounted(){
|
||||
this.modelValue.questions ??= [];
|
||||
this.modelValue.questionPoints ??= 10;
|
||||
|
||||
Reference in New Issue
Block a user