Problems with post method configuration in the new version of vue

figure 1, the data location getPrice, to be submitted is written as the code in figure 3. As a result, the path to post can not be found in error 404. I don"t know why, because the video belongs to the old version of vue, and the detailed description has not been found on the Internet, so please advise me how to find the path of post?

1

2

3

Mar.22,2021
The

problem is solved. To modify the contents of json or the configuration file in build, you need to restart the vue-cli project (npm run dev)


{
    getPrice: [{
        "amount": 69
    }]
}
.
Menu