Merge pull request #337 from lly835/fix/plugin-list-duplicate-rendering

fix: 修复插件管理页面卡片重复渲染问题
This commit is contained in:
何夕2077 2026-02-26 11:50:32 +08:00 committed by GitHub
commit 4ee0fb4b96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,6 +63,8 @@ function renderPluginsList() {
const emptyEl = document.getElementById('pluginsEmpty');
if (!listEl) return;
listEl.innerHTML = '';
if (pluginsList.length === 0) {
if (emptyEl) emptyEl.style.display = 'flex';