我在节点js中遇到“ +”问题,req.query无法检测到“ +”

时间:2019-07-18 05:37:36

标签: node.js

部分要求是

search: '?nameEn=aaaf+',
query: 'nameEn=aaaf+',
pathname: '/api/phxpartner/location/chk-duplicate',
path: '/api/phxpartner/location/chk-duplicate?nameEn=aaaf+',
href: '/api/phxpartner/location/chk-duplicate?nameEn=aaaf+',
_raw: '/api/phxpartner/location/chk-duplicate?nameEn=aaaf+' },
params: {},
query: { nameEn: 'aaaf ' },

看到查询中的不是我想要的“ aaaf +”。如何解决。谢谢:)

0 个答案:

没有答案