You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can the return values of backend APIs be encapsulated in the same format? For example, like this:
{
code:int,
data:any,
message:string
}.
Encapsulating them in a unified format facilitates the use by front-end frameworks, such as Vue.