Authored by ityuany

发送信息至服务器

... ... @@ -4,6 +4,7 @@ import {createNamespacedHelpers} from 'vuex';
import YAS from 'utils/yas-constants';
const {mapActions: articleMapActions, mapMutations: articleMapMutations, mapState: articleMapState} = createNamespacedHelpers('article');
const {mapActions: commentMapActions} = createNamespacedHelpers('comment');
export default {
name: 'CommentPlaceholder',
... ... @@ -45,6 +46,7 @@ export default {
}
},
methods: {
...commentMapActions(['postComment']),
...articleMapActions(['fetchArticleUpdate']),
...articleMapMutations(['UPDATE_ARTICLE_COMMENT_COUNT', 'INIT_COMENT_INPUT']),
async openComentInput() {
... ...
... ... @@ -207,7 +207,6 @@ export default {
transition: height 250ms cubic-bezier(0.165, 0.84, 0.44, 1);
.context-title {
margin-left: 30px;
font-size: 36px;
color: #222;
line-height: 56px;
... ...
... ... @@ -270,7 +270,6 @@ export default {
color: #222;
line-height: 56px;
margin-top: 10px;
margin-left: 30px;
margin-bottom: 16px;
letter-spacing: 0.68px;
font-weight: bolder;
... ...