|
@@ -135,6 +135,13 @@
|
|
|
/>
|
|
|
</div>
|
|
|
</template>
|
|
|
+ <div class="adult-book-input-item">
|
|
|
+ <span class="adult-book-lable">配置:</span>
|
|
|
+ <el-radio-group v-model="item.type" @change="forupdata">
|
|
|
+ <el-radio label="mh">描红</el-radio>
|
|
|
+ <el-radio label="lm">临摹</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -278,6 +285,7 @@ export default {
|
|
|
con: "", //生字
|
|
|
en: "",
|
|
|
pinyin: "", //拼音
|
|
|
+ type: "lm",
|
|
|
},
|
|
|
],
|
|
|
numberList: {
|
|
@@ -337,6 +345,9 @@ export default {
|
|
|
watch: {},
|
|
|
//方法集合
|
|
|
methods: {
|
|
|
+ forupdata() {
|
|
|
+ this.$forceUpdate();
|
|
|
+ },
|
|
|
// 添加音节
|
|
|
addyinjie(index) {
|
|
|
let obj = JSON.parse(JSON.stringify(this.data_structure3[0].option[0]));
|
|
@@ -507,6 +518,11 @@ export default {
|
|
|
],
|
|
|
};
|
|
|
this.$set(this.curQue, "numberList", obj);
|
|
|
+ this.curQue.option.forEach((item) => {
|
|
|
+ if (!item.type) {
|
|
|
+ item.type = "lm";
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
}
|
|
|
},
|