mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-06 16:37:18 +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) {
|
||||
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