优化页面

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 @@
{"version":3,"file":"counter.js","sources":["stores/counter.js"],"sourcesContent":["import { defineStore } from 'pinia';\r\n\r\nexport const useCounterStore = defineStore('counter', {\r\n\tstate: () => {\r\n\t\treturn { \r\n myitem:{},\r\n youritem:{},\r\n };\r\n\t},\r\n\t// 也可以这样定义\r\n\t// state: () => ({ count: 0 })\r\n\tactions: {\r\n\t\tincrement() {\r\n\t\t\tthis.count++;\r\n\t\t},\r\n\t},\r\n});"],"names":["defineStore"],"mappings":";;AAEY,MAAC,kBAAkBA,cAAW,YAAC,WAAW;AAAA,EACrD,OAAO,MAAM;AACZ,WAAO;AAAA,MACG,QAAO,CAAE;AAAA,MACT,UAAS,CAAE;AAAA,IACvB;AAAA,EACE;AAAA;AAAA;AAAA,EAGD,SAAS;AAAA,IACR,YAAY;AACX,WAAK;AAAA,IACL;AAAA,EACD;AACF,CAAC;;"}