Explorar el Código

多期比较bug

MaiXinRong hace 2 años
padre
commit
94ea55abfa
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/public/js/measure_compare.js

+ 1 - 0
app/public/js/measure_compare.js

@@ -280,6 +280,7 @@ $(document).ready(() => {
     const compareStages = [];
     $('#select-qi-ok').click(function () {
         function refreshView () {
+            compareStages.length = 0;
             for (let order = 0, iLength = trs.length; order < iLength; order++) {
                 const tr = trs[order];
                 if ($('input', tr)[0].checked) {