优化页面

This commit is contained in:
pengxiaolong
2025-05-28 22:12:30 +08:00
parent e682754922
commit c747f9625c
23 changed files with 1093 additions and 207 deletions

View File

@@ -0,0 +1,19 @@
"use strict";
const common_vendor = require("../common/vendor.js");
const useCounterStore = common_vendor.defineStore("counter", {
state: () => {
return {
myitem: {},
youritem: {}
};
},
// 也可以这样定义
// state: () => ({ count: 0 })
actions: {
increment() {
this.count++;
}
}
});
exports.useCounterStore = useCounterStore;
//# sourceMappingURL=../../.sourcemap/mp-weixin/stores/counter.js.map