Rieko-wang 2 years ago
parent
commit
58759f1821
  1. 6
      index.html

6
index.html

@ -138,11 +138,11 @@
hideLoading(); hideLoading();
renderBillingDom([]) renderBillingDom([])
$('.loading').show(); $('.loading').show();
$('.filter-item').removeClass('active');
const key = $(this).attr('data-query-key');
$(this).addClass('active')
const timer = setTimeout(() => { const timer = setTimeout(() => {
clearTimeout(timer) clearTimeout(timer)
$('.filter-item').removeClass('active');
const key = $(this).attr('data-query-key');
$(this).addClass('active')
if (key === 'nearlyMonth') { if (key === 'nearlyMonth') {
renderBillingDom(nearlyMonth) renderBillingDom(nearlyMonth)
} else if (key === 'lastThreeMonths') { } else if (key === 'lastThreeMonths') {

Loading…
Cancel
Save