ul-question-test-ui 1.0.40 → 1.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -70428,12 +70428,12 @@ var xtn = function() {
|
|
|
70428
70428
|
e.userAnswer = r;
|
|
70429
70429
|
}, expression: "userAnswer" } }, e._l(e.question.choices, function(r, i) {
|
|
70430
70430
|
var a;
|
|
70431
|
-
return n("TinyRadio", { key: r.id, staticClass: "choice-item", class: e.handleAnswerClass(i), attrs: { label: e.getOption(i) } }, [n("span", { staticClass: "index" }, [e._v(e._s(e.getOption(i)) + ". ")]), n("div", { staticClass: "choice-content" }, [n("span", { staticClass: "rich-text ql-editor not-edit", domProps: { innerHTML: e._s(r.text) } }), (a = r.attachments) != null && a.length ? n("FileList", { staticClass: "choice-file-list", attrs: { mode: "preview", type: "block", isPreview: !0, list: r.attachments, isShowLimitTimes: !1, showDownLoad: e.mode !== 3 } }) : e._e()], 1)]);
|
|
70431
|
+
return n("TinyRadio", { key: r.choiceId || r.id, staticClass: "choice-item", class: e.handleAnswerClass(i), attrs: { label: e.getOption(i) } }, [n("span", { staticClass: "index" }, [e._v(e._s(e.getOption(i)) + ". ")]), n("div", { staticClass: "choice-content" }, [n("span", { staticClass: "rich-text ql-editor not-edit", domProps: { innerHTML: e._s(r.text) } }), (a = r.attachments) != null && a.length ? n("FileList", { staticClass: "choice-file-list", attrs: { mode: "preview", type: "block", isPreview: !0, list: r.attachments, isShowLimitTimes: !1, showDownLoad: e.mode !== 3 } }) : e._e()], 1)]);
|
|
70432
70432
|
}), 1) : e._e(), e.question.type === 2 ? n("TinyCheckboxGroup", { staticClass: "choices", attrs: { disabled: !0 }, model: { value: e.userAnswer, callback: function(r) {
|
|
70433
70433
|
e.userAnswer = r;
|
|
70434
70434
|
}, expression: "userAnswer" } }, e._l(e.question.choices, function(r, i) {
|
|
70435
70435
|
var a;
|
|
70436
|
-
return n("TinyCheckbox", { key: r.id, staticClass: "choice-item", class: e.handleAnswerClass(i), attrs: { label: e.getOption(i) } }, [n("span", { staticClass: "index" }, [e._v(e._s(e.getOption(i)) + ". ")]), n("div", { staticClass: "choice-content" }, [n("span", { staticClass: "rich-text ql-editor", domProps: { innerHTML: e._s(r.text) } }), (a = r.attachments) != null && a.length ? n("FileList", { staticClass: "choice-file-list", attrs: { mode: "preview", type: "block", isPreview: !0, list: r.attachments, isShowLimitTimes: !1, showDownLoad: e.mode !== 3 } }) : e._e()], 1)]);
|
|
70436
|
+
return n("TinyCheckbox", { key: r.choiceId || r.id, staticClass: "choice-item", class: e.handleAnswerClass(i), attrs: { label: e.getOption(i) } }, [n("span", { staticClass: "index" }, [e._v(e._s(e.getOption(i)) + ". ")]), n("div", { staticClass: "choice-content" }, [n("span", { staticClass: "rich-text ql-editor", domProps: { innerHTML: e._s(r.text) } }), (a = r.attachments) != null && a.length ? n("FileList", { staticClass: "choice-file-list", attrs: { mode: "preview", type: "block", isPreview: !0, list: r.attachments, isShowLimitTimes: !1, showDownLoad: e.mode !== 3 } }) : e._e()], 1)]);
|
|
70437
70437
|
}), 1) : e._e()], 1) : n("div", { staticClass: "choice-list" }, [e.question.type === 1 ? n("TinyRadioGroup", { staticClass: "choices", model: { value: e.radioAnswer, callback: function(r) {
|
|
70438
70438
|
e.radioAnswer = r;
|
|
70439
70439
|
}, expression: "radioAnswer" } }, e._l(e.question.choices, function(r, i) {
|
|
@@ -70453,7 +70453,7 @@ var xtn = function() {
|
|
|
70453
70453
|
Etn,
|
|
70454
70454
|
!1,
|
|
70455
70455
|
null,
|
|
70456
|
-
"
|
|
70456
|
+
"204ba7ab"
|
|
70457
70457
|
);
|
|
70458
70458
|
const Xc = Ttn.exports;
|
|
70459
70459
|
Xc.install = (t) => t.component(Xc.name, Xc);
|