Vue project actual combat - those deep pits dug for themselves

1. Let’s talk about the store in vuex first. At the beginning, I set it up to be lazy, as shown below:

Then I went to the component and used it directly like this:

 

It is also in the structure, which is very lazy to use directly:

As a result, a strange problem appeared (I have always encountered strange problems recently, and I am guessing whether it may be related to my reading "Legend of Miaojiang Witch and Gu", yes, I said it for the sake of Amway's book! ^ _^)

The problem is that even though the axios data is back, it still reports an error saying:

 

At the beginning, carefully check whether the field is wrong, and the result is nothing!

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325305926&siteId=291194637