提交 c7427e66 authored 作者: matian's avatar matian

updates

上级 a08144b1
......@@ -38,8 +38,12 @@ export const useUserStore = defineStore({
await logout()
this.user = null
},
async getCourse() {
this.courses = await getBuyShop()
},
addCourse(data: any) {
this.courses.push(data)
}
}
})
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论