|
@@ -37,7 +37,7 @@
|
|
></el-input>
|
|
></el-input>
|
|
</div>
|
|
</div>
|
|
<div class="NPC-sentence-Segword" style="position: relative">
|
|
<div class="NPC-sentence-Segword" style="position: relative">
|
|
- <SentenceSegwordChs :curQue="item.detail" :type="type" />
|
|
|
|
|
|
+ <SentenceSegwordChs :curQue="item.detail" :type="type" @handlecorrectList="handlecorrectList" :itemIndex="index" />
|
|
<img
|
|
<img
|
|
style="position: absolute; right: 202px;top: 0;"
|
|
style="position: absolute; right: 202px;top: 0;"
|
|
@click="deleteOption(index)"
|
|
@click="deleteOption(index)"
|
|
@@ -183,6 +183,9 @@ export default {
|
|
let obj = JSON.parse(JSON.stringify(this.data_structure.option[0]));
|
|
let obj = JSON.parse(JSON.stringify(this.data_structure.option[0]));
|
|
this.curQue.option.push(obj);
|
|
this.curQue.option.push(obj);
|
|
},
|
|
},
|
|
|
|
+ handlecorrectList(index){
|
|
|
|
+ this.curQue.option[index].correctWordsList = []
|
|
|
|
+ }
|
|
},
|
|
},
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|
|
created() {
|
|
created() {
|