When I used the get method before, I always subconsciously spliced the parameters on the link. Recently I heard that when using the get method of vue-resource, I can directly pass the parameters like a post. I couldn't find the document address and wanted to take a leave directly. Now, how should this parameter be passed?
The following method I used does not work~
let arg = {search: 'haha'}
this.$http.get(link, arg, {
...
}
Like this. . . For reference only
Now vue is more recommended to use axios
This should be what you want~