📅  最后修改于: 2022-03-11 15:04:01.048000             🧑  作者: Mango
chartElement.classList.contains('d-none') ? chartElement.classList.remove('d-none') : '';
!chartElement.classList.contains('d-block') ? chartElement.classList.add('d-block') : '';
noDataElement.classList.contains('d-block') ? noDataElement.classList.remove('d-block') : '';
!noDataElement.classList.contains('d-none') ? noDataElement.classList.add('d-none') : '';