How vue-simple-upload gets the data returned in the background

Not to mention downloading and importing.

 

bind a function on the used struct

Add this method in methods

 

 

The event is printed like this: the data returned in the background is in the response, and the response at this time is a string, so it needs to be converted with JSON.parse.

 

 

Guess you like

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