-
Notifications
You must be signed in to change notification settings - Fork 81
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
通过parseDiff解析,新增的文件对应的旧文件区域没有展示UI #212
Comments
有没有截图或者可复现的代码,看这个描述我还不太清楚是怎么个样子 |
不还意思,demo有点问题,我再重新写一个 |
从代码的实现来看,在新增文件的情况下只展示新增内容是特性。 react-diff-view/src/Diff/index.tsx Line 121 in 49cebd0
react-diff-view/src/Diff/index.tsx Lines 135 to 142 in 49cebd0
|
好的 感谢~ |
你有全新增的内容要展示旧文件(完全就是空的)的需求吗 |
是的 |
你试试是不是渲染组件时把 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: