chore: update

This commit is contained in:
xiaoxian521 2022-08-17 22:36:21 +08:00
parent b827301d0a
commit 3c44909f47

View File

@ -204,7 +204,6 @@ const getThemeColor = computed(() => {
/** 设置导航模式 */ /** 设置导航模式 */
function setLayoutModel(layout: string) { function setLayoutModel(layout: string) {
if (layout === $storage.layout.layout) return;
layoutTheme.value.layout = layout; layoutTheme.value.layout = layout;
window.document.body.setAttribute("layout", layout); window.document.body.setAttribute("layout", layout);
$storage.layout = { $storage.layout = {