提交 90ba9473 authored 作者: matian's avatar matian

Merge remote-tracking branch 'origin/vite' into vite

...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
<div class="title-type">{{ questionTypeText[data.question_type] }}</div> <div class="title-type">{{ questionTypeText[data.question_type] }}</div>
<template v-for="pItem in data.list"> <template v-for="pItem in data.list">
<question-list-item <question-list-item
v-for="item in pItem" v-for="(item, indexs) in pItem"
:data="pItem[0]" :data="item"
:question="data" :question="data"
:key="item.id" :key="item.id"
></question-list-item> ></question-list-item>
...@@ -29,7 +29,7 @@ export default { ...@@ -29,7 +29,7 @@ export default {
computed: { computed: {
}, },
mounted() { mounted() {
console.log(this.examData.length, 'examData') console.log(this.examData, 'examData')
} }
} }
</script> </script>
......
...@@ -141,6 +141,9 @@ export default { ...@@ -141,6 +141,9 @@ export default {
handleChange() { handleChange() {
this.$emit('change', this.data) this.$emit('change', this.data)
} }
},
mounted() {
console.log(this.data, '=12data')
} }
} }
</script> </script>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论