Skip to content

Commit

Permalink
修改错别字。。
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnuchen committed Mar 17, 2018
1 parent b89ac00 commit 1f85e8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/store/actions/myAnswers.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ export const addAnswer = ({commit}, payload) => {
commit(types.ADD_ANSWER, payload)
};

export const cleatAnswers = ({commit}) => {
export const clearAnswers = ({commit}) => {
commit(types.CLEAR_ANSWER)
};
4 changes: 2 additions & 2 deletions src/views/PrePare.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
created() {
this.currentBook = this.allBooks[+this.bookIndex];
this.currentChap = this.currentBook.bookList[+this.chapIndex];
this.cleatAnswers()
this.clearAnswers()
},
methods: {
...mapActions(['cleatAnswers']),
...mapActions(['clearAnswers']),
goTo() {
this.$router.push(`/exercise/${this.bookIndex}/workcard/${this.chapIndex}`)
}
Expand Down

0 comments on commit 1f85e8c

Please sign in to comment.