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

type: update type #11288

Merged
merged 1 commit into from
Jun 15, 2023
Merged

type: update type #11288

merged 1 commit into from
Jun 15, 2023

Conversation

li-jia-nan
Copy link
Contributor

@li-jia-nan li-jia-nan commented Jun 15, 2023

image

场景:进入旧的链接时,需要自动跳转到新链接

modifyRoutes 新增一项把 file 换成 redirect 即可,但是 file 在 ts 定义中为必填,直接替换会报错

@vercel
Copy link

vercel bot commented Jun 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
umi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 15, 2023 3:24am

Copy link
Member

@PeachScript PeachScript left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@PeachScript PeachScript requested a review from sorrycc June 15, 2023 03:27
@sorrycc sorrycc merged commit 7c1568e into umijs:master Jun 15, 2023
2 checks passed
@github-actions
Copy link

感谢 PR!如果有兴趣一起参与维护 Umi,可加入我们的 Umi Contributor 群。加入方式是先用钉钉扫下方二维码加我钉钉,记得注明 github id,然后我会拉你到群里。

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

Successfully merging this pull request may close these issues.

None yet

3 participants