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

节点名称转义符好像没有替代 #10

Closed
ghost opened this issue Jun 26, 2020 · 1 comment
Closed

节点名称转义符好像没有替代 #10

ghost opened this issue Jun 26, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 26, 2020

我看到我的页面上的[]没有换成"["和"]"
return encodeURIComponent(e).replace(/%40/gi, "@").replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]")
我找到了前面替代url的部分,但是不知道哪个值是nodename
麻烦大佬改一下

yb added a commit that referenced this issue Jul 31, 2020
修复 #10 #11 #12 提到的转义问题;
更新 npm 依赖;
完善多处细节,提升渲染效率;
@yb
Copy link
Owner

yb commented Jul 31, 2020

在刚刚更新的 v1.4.0 中已经完善了这个问题,谢谢

@yb yb closed this as completed Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant