Jelajahi Sumber

多期比较bug

MaiXinRong 3 tahun lalu
induk
melakukan
94ea55abfa
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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) {