富文本数字显示bug
This commit is contained in:
parent
91751464b2
commit
d6a671bdba
|
@ -177,7 +177,7 @@ Page({
|
|||
for (let key in tm_current.options) {
|
||||
let option = {}
|
||||
option.key = key
|
||||
option.value = tm_current.options[key].toString()
|
||||
option.value = '<p>' + tm_current.options[key].toString() + '</p>'
|
||||
if (tm_current.user_answer) {
|
||||
if (key == tm_current.user_answer || tm_current.user_answer.indexOf(key) != -1) {
|
||||
option.checked = true
|
||||
|
|
|
@ -176,7 +176,7 @@ Page({
|
|||
for (let key in currentTm.options) {
|
||||
let option = {}
|
||||
option.key = key
|
||||
option.value = currentTm.options[key].toString()
|
||||
option.value = '<p>' + currentTm.options[key].toString() + '</p>'
|
||||
if (currentTm.user_answer && this.data.moShi == '看题模式') {
|
||||
if (key == currentTm.user_answer || currentTm.user_answer.indexOf(key) != -1) {
|
||||
option.checked = true
|
||||
|
|
|
@ -251,7 +251,7 @@ Page({
|
|||
for (let key in tm_current.options) {
|
||||
let option = {}
|
||||
option.key = key
|
||||
option.value = tm_current.options[key].toString()
|
||||
option.value = '<p>' + tm_current.options[key].toString() + '</p>'
|
||||
option.checked = false
|
||||
option.right = false
|
||||
if(option.key == tm_current.right||tm_current.right.indexOf(option.key)!=-1){
|
||||
|
|
|
@ -139,7 +139,7 @@ Page({
|
|||
for (let key in tm_current.options) {
|
||||
let option = {}
|
||||
option.key = key
|
||||
option.value = tm_current.options[key].toString()
|
||||
option.value = '<p>' + tm_current.options[key].toString() + '</p>'
|
||||
if (tm_current.user_answer) {
|
||||
if (key == tm_current.user_answer || tm_current.user_answer.indexOf(key) != -1) {
|
||||
option.checked = true
|
||||
|
|
|
@ -114,11 +114,11 @@ Page({
|
|||
var that = this
|
||||
let question_options = that.data.tm_current.question.options
|
||||
let options = []
|
||||
let user_answer = that.data.tm_current.user_answer
|
||||
let user_answer = that.data.tm_current.user_answer
|
||||
for (let key in question_options) {
|
||||
let option = {}
|
||||
option.key = key
|
||||
option.value = question_options[key]
|
||||
option.value = '<p>' + question_options[key] + '</p>'
|
||||
if (user_answer) {
|
||||
if (key == user_answer || user_answer.indexOf(key) != -1) {
|
||||
option.checked = true
|
||||
|
|
|
@ -182,7 +182,7 @@ Page({
|
|||
for (let key in tm_current.options) {
|
||||
let option = {}
|
||||
option.key = key
|
||||
option.value = tm_current.options[key].toString()
|
||||
option.value = '<p>' + tm_current.options[key].toString() + '</p>'
|
||||
if (tm_current.user_answer) {
|
||||
if (key == tm_current.user_answer || tm_current.user_answer.indexOf(key) != -1) {
|
||||
option.checked = true
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
"disablePlugins": [],
|
||||
"outputPath": ""
|
||||
},
|
||||
"useCompilerModule": false,
|
||||
"useCompilerModule": true,
|
||||
"userConfirmedUseCompilerModuleSwitch": false,
|
||||
"compileHotReLoad": false,
|
||||
"useMultiFrameRuntime": false,
|
||||
|
|
Loading…
Reference in New Issue