feat: update

This commit is contained in:
xiaoxian521 2021-11-02 13:26:25 +08:00
parent 6b151eae1b
commit c266a675a2

View File

@ -60,6 +60,10 @@ let layoutTheme =
// bodylayoutsrc/style/sidebar.scss
if (unref(layoutTheme)) {
let layout = unref(layoutTheme).layout;
let theme = unref(layoutTheme).theme;
addClassNameToHtmlTag({
scopeName: `layout-theme-${theme}`
});
window.document.body.setAttribute("layout", layout);
}