作者:sasame | 来源:互联网 | 2023-06-17 18:45
1var data = $('.regist-from').serialize();如何将下面的字符串转换成json格式?companyName=234&companyType=%E5%9B%BD%E
1
| var data = $('.regist-from').serialize(); |
如何将下面的字符串转换成json格式?
companyName=234&companyType=%E5%9B%BD%E6%9C%89%E4%BC%81%E4%B8%9A&area=%E4%B8%8A%E6%B5%B7&userName=%E5%95%8A%E7%BB%B4a%E9%85%B8&phOneNum=15055615588&verifiCode=123123&password=123456&re-password=123456