avoid to escape a special characters in javascript

后端 未结 5 1544
你的背包
你的背包 2020-12-01 20:01

My server returns value as support\\testing. When I get this value in client it can be escaped as support testing. \\t is escaped

5条回答
  •  旧时难觅i
    2020-12-01 20:52

    If you are able to change the server-side code, you should add the escape character there: "support\\testing".

    That will result in the desired result.

提交回复
热议问题