uni-halo/store/comment.js
2022-12-06 15:08:29 +08:00

28 lines
495 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 功能:临时存储评论用户信息(用于评论)
* 作者:小莫唐尼
* 邮箱studio@925i.cn
* 时间2022年07月21日 18:41:44
* 版本v0.1.0
* 修改记录:
* 修改内容:
* 修改人员:
* 修改时间:
*/
export default {
namespaced: true,
state: {
commentInfo: {},
},
getters: {
getCommentInfo(state) {
return state.commentInfo
},
},
mutations: {
setCommentInfo(state, data) {
state.commentInfo = data;
},
},
};