|
@@ -25,7 +25,7 @@ let yzQuestion = function (cfg) {
|
|
this.contentDom = [];
|
|
this.contentDom = [];
|
|
|
|
|
|
this.order = parseInt(cfg.order);
|
|
this.order = parseInt(cfg.order);
|
|
-
|
|
|
|
|
|
+
|
|
this.domId = ('lsiten_question_'+Math.random()).replace('.','_');
|
|
this.domId = ('lsiten_question_'+Math.random()).replace('.','_');
|
|
// dom相关属性
|
|
// dom相关属性
|
|
this.vdom = null;
|
|
this.vdom = null;
|
|
@@ -50,7 +50,7 @@ yzQuestion.prototype._renderObjectiveDom = function () {
|
|
ul.append('<li id="'+ this.domId +'_li" class="question-selection-li">'+ this._mapKey[i] +'</li>');
|
|
ul.append('<li id="'+ this.domId +'_li" class="question-selection-li">'+ this._mapKey[i] +'</li>');
|
|
}
|
|
}
|
|
this.vdom.append(ul);
|
|
this.vdom.append(ul);
|
|
-}
|
|
|
|
|
|
+};
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|