search

Home  >  Q&A  >  body text

I encountered some difficulties when developing the WeChat applet calculator. There is an error that I can't figure out, but it seems to be the same as what is written in the video. Please give me some guidance.

I encountered some difficulties when developing the WeChat applet calculator. There is an error that I can't find out, but it seems to be the same as what is written in the video. Please give me some guidance.

For example, enter: "7 7", and the result is It can be displayed as 14 normally, but when the operator " " is clicked for the second time, the console displays an error! I clicked into the source and looked at the erroneous statement, but I couldn't find the error.

I really can’t find the mistake. If you can provide detailed guidance, you can add qq: 1648407902. I don’t know if Q&A can upload multiple pictures at one time.

For the specific js file, please see the attached picture I uploaded! !


333.png##

会玩的白先森会玩的白先森2432 days ago1414

reply all(1)I'll reply

  • aaa

    aaa2018-04-19 20:42:22

    What about the previous code? You reported an error on line 38

    reply
    0
  • Cancelreply