0👍
that because on mounting there is no such object as person. First your component is mounted (no person object, error is shown), next Ajax is sent, next component is updated by vuex (now you see information). You have few options here either to check if person object exist and then use it or in better way – describe better default state object.
Source:stackexchange.com