()
| 600 | } |
| 601 | |
| 602 | function updateLoadButton() { |
| 603 | const btn = ui.loadBtn; |
| 604 | if (!btn) return; |
| 605 | if (currentSection === 'online') { |
| 606 | btn.textContent = '加载'; |
| 607 | btn.title = ''; |
| 608 | } else { |
| 609 | btn.textContent = '刷新'; |
| 610 | btn.title = ''; |
| 611 | } |
| 612 | } |
| 613 | |
| 614 | function updateDeleteButton() { |
| 615 | const btn = ui.deleteBtn; |
no outgoing calls
no test coverage detected