测试支付

This commit is contained in:
weiwei committed 2025-03-20 17:09:23 +08:00
1 parent d2cb43d063
commit 6fcbd00d73
5 files changed
+62 -13

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
// https://pinia.vuejs.org/
import { createPinia } from "pinia"
// 创建
const pinia = createPinia()
// 导出
export default pinia
+14
View File
@@ -0,0 +1,14 @@
import { defineStore } from "pinia"
export const usePayStore = defineStore("pay", {
state: () => {
return {
payData: "",
}
},
actions: {
setPayData(data: any) {
this.payData = data
},
},
})