Home > Mobile >  Using ts development problems WeChat small programs
Using ts development problems WeChat small programs

Time:11-29

In a recent study WeChat small program development, want to use ts version, but encountered a few problems

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; {

}
  • Related