The error in the ts
But in the js file is no problem, can be solved
CodePudding user response:
Sorry to ask, can you tell me the setData! What use is it?In addition we use for a long time of ts, you this result. The data, the data should not object but only a character, or is you have to have to convert it into a jsonobject
CodePudding user response:
You can try to write like this:Success: (result: any)=& gt; {
}