|
@@ -2,7 +2,7 @@ import { defineStore } from "pinia";
|
|
|
import { setLocalStorage, getLocalStorage } from "@/utils";
|
|
|
|
|
|
|
|
|
-const LayoutDisposition = getLocalStorage("LayoutDisposition") || false
|
|
|
+const LayoutDisposition = JSON.parse(localStorage.getItem('LayoutDisposition')) || false
|
|
|
|
|
|
// 语言
|
|
|
export const layoutSetting = defineStore({
|