zhouna 3 năm trước cách đây
mục cha
commit
c90823c389
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/js/followUp.js

+ 1 - 1
src/js/followUp.js

@@ -32,7 +32,7 @@ function renderPage(data, type) {
     renderName(operaItemName)
     if (type) {
         operaItemDetail = operaItemDetail.filter((it)=>it.history===0)||[];
-        operaItemDetail.length=1;
+        operaItemDetail.length=operaItemDetail.length>0?1:0;
         renderDetailHorizontal(operaItemDetail)
     } else {
         renderBtn(operaItemDetail)