Explorar o código

多期比较bug

MaiXinRong %!s(int64=3) %!d(string=hai) anos
pai
achega
94ea55abfa
Modificáronse 1 ficheiros con 1 adicións e 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) {