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

2 lines
483 B
JavaScript

"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;