Vanessa 2024-09-30 10:57:22 +08:00
parent 2dab88c4ea
commit 800286ebce
2 changed files with 6 additions and 6 deletions

View file

@ -416,12 +416,6 @@ export class Background {
target = target.parentElement;
}
});
/// #if MOBILE
if (!protyle.disabled) {
this.element.classList.add("protyle-background--mobileshow");
}
/// #endif
}
private removeTag(protyle: IProtyle) {

View file

@ -249,6 +249,12 @@ const setHTML = (options: {
return;
}
/// #if MOBILE
if (!protyle.disabled && !options.action.includes(Constants.CB_GET_ALL)) {
protyle.background.element.classList.add("protyle-background--mobileshow");
}
/// #endif
if (protyle.options.render.breadcrumb) {
protyle.breadcrumb.toggleExit(!options.action.includes(Constants.CB_GET_ALL));
protyle.breadcrumb.render(protyle);