acdr-ui/dist/build/mp-weixin/modules/mall/sheep/store/sys.js

2 lines
489 B
JavaScript
Raw Normal View History

2024-10-01 09:15:35 +08:00
"use strict";const e=require("../../../../common/vendor.js"),t=require("./app.js"),s=e.defineStore({id:"sys",state:()=>({theme:"",mode:"light",modeAuto:!1,fontSize:1}),getters:{},actions:{setTheme(e=""){var s;this.theme=""===e?(null==(s=t.app().template)?void 0:s.basic.theme)||"orange":e}},persist:{enabled:!0,strategies:[{key:"sys-store"}]}}),o=Object.freeze(Object.defineProperty({__proto__:null,default:s},Symbol.toStringTag,{value:"Module"}));exports.__vite_glob_0_3=o,exports.sys=s;