https://github.com/vuejs/vuex/issues/1452

    1. ...mapGetters({
    2. // 把 `this.doneCount` 映射为 `this.$store.getters.doneTodosCount`
    3. doneCount: 'doneTodosCount'
    4. })
    5. export default {
    6. computed: mapGetters({
    7. doneCount: 'doneTodosCount'
    8. })
    9. }