🎨 数据库表头为空

This commit is contained in:
Vanessa 2024-01-19 23:32:16 +08:00
parent 29d959c18c
commit 9867e3ff0a
3 changed files with 2 additions and 8 deletions

View file

@ -212,7 +212,7 @@ export class MenuItem {
if (options.element) {
this.element.append(options.element);
} else {
let html = `<span class="b3-menu__label">${options.label}</span>`;
let html = `<span class="b3-menu__label">${options.label || "&nbsp;"}</span>`;
if (typeof options.iconHTML === "string") {
html = options.iconHTML + html;
} else {