Require props of QA, Question and Answer
This commit is contained in:
@@ -8,7 +8,10 @@
|
||||
export default {
|
||||
name: 'Answer',
|
||||
props: {
|
||||
a: String
|
||||
a: {
|
||||
type: String,
|
||||
required: true,
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -16,8 +16,14 @@ export default {
|
||||
Answer,
|
||||
},
|
||||
props: {
|
||||
q: String,
|
||||
a: String
|
||||
q: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
a: {
|
||||
type: String,
|
||||
required: true,
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -8,7 +8,10 @@
|
||||
export default {
|
||||
name: 'Question',
|
||||
props: {
|
||||
q: String
|
||||
q: {
|
||||
type: String,
|
||||
required: true,
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user