diff --git a/src/components/todo/ListComponent.vue b/src/components/todo/ListComponent.vue index ff04847..2b6b78a 100644 --- a/src/components/todo/ListComponent.vue +++ b/src/components/todo/ListComponent.vue @@ -142,7 +142,7 @@ const todoStore = createNamespacedHelpers('TodoStore') export default { components: {}, computed: { - ...todoStore.mapStates(['total', 'rows']) + ...todoStore.mapState(['total', 'rows']) }, created: function () { this.setDatas()