acdr-ui/dist/dev/mp-weixin/store/index.js
2024-10-01 09:15:35 +08:00

15 lines
360 B
JavaScript

"use strict";
const common_vendor = require("../common/vendor.js");
require("./user.js");
require("./config.js");
const store = common_vendor.createPinia();
store.use(
common_vendor.createPersistedState({
storage: {
getItem: common_vendor.index.getStorageSync,
setItem: common_vendor.index.setStorageSync
}
})
);
exports.store = store;