zhangxc 6 лет назад
Родитель
Сommit
ab67eb44c4
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/js/scale.js

+ 2 - 2
src/js/scale.js

@@ -99,9 +99,9 @@ function renderCalcu(scaleList) {
       for (var y = 0; y < scaleList.group[j].rows[x].row.length; y++) {
         var str2 = ''
         for (var z = 0; z < scaleList.group[j].rows[x].row[y].details.length; z++) {
-          str2 += '<span class="groupRowRadio"><input  type=radio data-index=' + j + ',' + x + ',' + y + ',' + z + '  name=' + j + x + y + ' id=' + j + x + y + z
+          str2 += '<span class="groupRowRadio"><input  type="radio" data-index="' + j + ',' + x + ',' + y + ',' + z + '"  name="' + j + x + y + '" id="' + j + x + y + z
           if (scaleList.group[j].rows[x].row[y].details[z].select == 1) {
-            str2 += ' checked="checked"'
+            str2 += '" checked="checked"'
           }
           str2 += ' />' + '<label for="' + j + x + y + z + '">' + scaleList.group[j].rows[x].row[y].details[z].detailName + '(' + scaleList.group[j].rows[x].row[y].details[z].score + ')' + '</label>'
           if (scaleList.group[j].rows[x].row[y].details[z].state == 1) {