dusenyao 1 рік тому
батько
коміт
fb89853156

Різницю між файлами не показано, бо вона завелика
+ 831 - 401
package-lock.json


+ 3 - 1
src/views/book/courseware/create/components/question/matching/Matching.vue

@@ -100,7 +100,9 @@ export default {
             this.data.option_list.push(getOption(this.data.property.column_num));
           }
           // 增加答案列表
-          this.data.answer.answer_list.push(Array(this.data.property.column_num).fill({ mark: '' }));
+          this.data.answer.answer_list.push(
+            Array.from({ length: this.data.property.column_num }, () => ({ mark: '' })),
+          );
           // 将答案列表最后一项的第一个元素设置进答案列表第一项
           this.data.answer.answer_list[this.data.answer.answer_list.length - 1][0] = {
             mark: this.data.option_list[this.data.option_list.length - 1][0].mark,

Деякі файли не було показано, через те що забагато файлів було змінено