mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-07 17:07:19 +08:00
fix: update
This commit is contained in:
parent
a28eb4b203
commit
15ccd5db5b
@ -88,7 +88,10 @@ const handleClickOutside = (params: boolean) => {
|
|||||||
|
|
||||||
function setTheme(layoutModel: string) {
|
function setTheme(layoutModel: string) {
|
||||||
window.document.body.setAttribute("layout", layoutModel);
|
window.document.body.setAttribute("layout", layoutModel);
|
||||||
instance.$storage.layout = { layout: `${layoutModel}` };
|
instance.$storage.layout = {
|
||||||
|
layout: `${layoutModel}`,
|
||||||
|
theme: instance.$storage.layout?.theme
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// 监听容器
|
// 监听容器
|
||||||
|
Loading…
x
Reference in New Issue
Block a user