tdesign-react icon indicating copy to clipboard operation
tdesign-react copied to clipboard

[AnchorItem] href属性如何适配hash路由

Open zc422 opened this issue 3 years ago • 5 comments

tdesign-react 版本

0.37.1

重现链接

No response

重现步骤

image

期望结果

No response

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

zc422 avatar Aug 25 '22 03:08 zc422

👋 @zc422,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

github-actions[bot] avatar Aug 25 '22 03:08 github-actions[bot]

路由跟锚点不是一个概念,路由是用来切换页面内容的,锚点是定位当前页面下的具体某个元素的,硬要关联可以自己写 onClick 跳转路由

honkinglin avatar Aug 25 '22 06:08 honkinglin

文档里的hash模式是啥意思呢,不是说的hash路由吗

zc422 avatar Aug 25 '22 06:08 zc422

文档里的hash模式是指什么呢

zc422 avatar Aug 25 '22 06:08 zc422

文档里的 hash 是指 Vue 的,React 不适用,会更新文档

chaishi avatar Aug 25 '22 06:08 chaishi

这个 Issue 被标记为了过时 stale ,因为它已经持续 30 天没有任何活动了。删除 stale 标签或评论,否则将在 7 天内关闭。

github-actions[bot] avatar Sep 25 '22 05:09 github-actions[bot]

此 Issue 被自动关闭,因为它自被标记为过时 stale 以来已闲置 7 天。

github-actions[bot] avatar Oct 02 '22 06:10 github-actions[bot]