Merge pull request #337 from lly835/fix/plugin-list-duplicate-rendering
fix: 修复插件管理页面卡片重复渲染问题
This commit is contained in:
commit
4ee0fb4b96
1 changed files with 2 additions and 0 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in a new issue