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
|
|
@ -64,6 +64,8 @@ function renderPluginsList() {
|
||||||
|
|
||||||
if (!listEl) return;
|
if (!listEl) return;
|
||||||
|
|
||||||
|
listEl.innerHTML = '';
|
||||||
|
|
||||||
if (pluginsList.length === 0) {
|
if (pluginsList.length === 0) {
|
||||||
if (emptyEl) emptyEl.style.display = 'flex';
|
if (emptyEl) emptyEl.style.display = 'flex';
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue