Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持urlParsingNode.pathname.charAt #483

Closed
xmsz opened this issue Jul 8, 2021 · 3 comments
Closed

支持urlParsingNode.pathname.charAt #483

xmsz opened this issue Jul 8, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@xmsz
Copy link

xmsz commented Jul 8, 2021

使用场景 | Use case

  • 项目中用到了axios
  • 使用时提示
undefined is not an object (evaluating 'urlParsingNode.pathname.charAt')
resolveURL@http://192.168.1.83:3333/kraken/index.js:49607:40
http://192.168.1.83:3333/kraken/index.js:49611:25
./node_modules/axios/lib/helpers/isURLSameOrigin.js@http://192.168.1.83:3333/kraken/index.js:49623:2
__webpack_require__@http://192.168.1.83:3333/kraken/index.js:20:34
./node_modules/axios/lib/adapters/xhr.js@http://192.168.1.83:3333/kraken/index.js:48381:42
__webpack_require__@http://192.168.1.83:3333/kraken/index.js:20:34
getDefaultAdapter@http://192.168.1.83:3333/kraken/index.js:49257:34
http://192.168.1.83:3333/kraken/index.js:49267:29
./node_modules/axios/lib/defaults.js@http://192.168.1.83:3333/kraken/index.js:49330:34
__webpack_require__@http://192.168.1.83:3333/kraken/index.js:20:34
./node_modules/axios/lib/core/dispatchRequest.js@http://192.168.1.83:3333/kraken/index.js:48979:35
__webpack_require__@http://192.168.1.83:3333/kraken/index.js:20:34
./node_modules/axios/lib/core/Axios.js@http://192.168.1.83:3333/kraken/index.js:48742:42
__webpack_require__@http://192.168.1.83:3333/kraken/index.js:20:34
./node_modules/axios/lib/axios.js@http://192.168.1.83:3333/kraken/index.js:48561:32
__webpack_require__@http://192.168.1.83:3333/kraken/index.js:20:34
./node_modules/axios/index.js@http://192.168.1.83:3333/kraken/index.js:48355:37
__webpack_require__@http://192.168.1.83:3333/kraken/index.js:20:34
./src/libs/request.ts@http://192.168.1.83:3333/kraken/index.js:82464:82
__webpack_require__@http://192.168.1.83:3333/kraken/index.js:20:34
./src/pages/Home/comps/DateRecords/index.tsx@http://192.168.1.83:3333/kraken/index.js:83521:90

提案 | Proposal

  • 能够支持urlParsingNode.pathname.charAt
  • 能够兼容axios
@xmsz xmsz added the enhancement New feature or request label Jul 8, 2021
@cnryb
Copy link
Member

cnryb commented Nov 16, 2021

#864 中修复了这个问题,已经合并到 main 分支。你有时间再验证一次吗?

@xmsz
Copy link
Author

xmsz commented Nov 16, 2021

#864 中修复了这个问题,已经合并到 main 分支。你有时间再验证一次吗?

暂时米有哈

@cnryb
Copy link
Member

cnryb commented Nov 16, 2021

那这个问题就先关闭了。有问题了可以在打开它。

@cnryb cnryb closed this as completed Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants