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

WaterMark 水印,content 设置空值时,控制台存在错误提示,后退的页面也会出现404,应该是严重的bug了 #6332

Closed
liangskyli opened this issue Aug 22, 2023 · 1 comment · Fixed by #6331
Labels

Comments

@liangskyli
Copy link
Contributor

Version of antd-mobile

5.32.0

Operating system and its version

No response

Browser and its version

No response

Sandbox to reproduce

antd mobile demo 设置content 空值可复现

What happened?

image
设置content 空值,控制台错误

Relevant log output

No response

@liangskyli
Copy link
Contributor Author

复现demo: https://github.com/liangskyli/umi4-bug/tree/antd-mobile-water-mark-bug

$ yarn
$ yarn start

访问:http://localhost:8000/sub-demo/page1
说明:
页面跳转使用:history.push('/page2'); 控制台会有404
页面跳转使用:window.location.href = '/sub-demo/page2'; 后退的页面也会出现404,应该是严重的bug了(电脑chore浏览器和andriod手机)

@liangskyli liangskyli changed the title WaterMark 水印,content 设置空值时,控制台存在错误提示 WaterMark 水印,content 设置空值时,控制台存在错误提示,后退的页面也会出现404,应该是严重的bug了 Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant