mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01:00
💄
This commit is contained in:
parent
c3e7ad0f4c
commit
45b26e1f3f
1 changed files with 2 additions and 0 deletions
|
|
@ -147,6 +147,8 @@ export class MenuItem {
|
||||||
}
|
}
|
||||||
this.element.innerHTML = html;
|
this.element.innerHTML = html;
|
||||||
if (options.bind) {
|
if (options.bind) {
|
||||||
|
// 主题 rem craft 需要使用 b3-menu__item--custom 来区分自定义菜单 by 281261361
|
||||||
|
this.element.classList.add("b3-menu__item--custom");
|
||||||
options.bind(this.element);
|
options.bind(this.element);
|
||||||
}
|
}
|
||||||
if (options.submenu) {
|
if (options.submenu) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue