|
@@ -395,6 +395,12 @@ export default {
|
|
let element = getElementModel(item.type);
|
|
let element = getElementModel(item.type);
|
|
element.w = document.getElementById("topic-column").offsetWidth;
|
|
element.w = document.getElementById("topic-column").offsetWidth;
|
|
|
|
|
|
|
|
+ if (
|
|
|
|
+ ["FILL_QUESTION_SIMPLE", "FILL_QUESTION_MULTIPLY"].includes(item.type)
|
|
|
|
+ ) {
|
|
|
|
+ element.optionCount = this.cardConfig.defaultOptionNumber;
|
|
|
|
+ }
|
|
|
|
+
|
|
if (item.type === "FORBID_AREA") {
|
|
if (item.type === "FORBID_AREA") {
|
|
const lastTopicElement = this.topics.findLast(
|
|
const lastTopicElement = this.topics.findLast(
|
|
(item) => !OTHER_ELEMENT.includes(item.type)
|
|
(item) => !OTHER_ELEMENT.includes(item.type)
|