-
Notifications
You must be signed in to change notification settings - Fork 39
feat: optimize AIAgent components #561
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
base: master
Are you sure you want to change the base?
Conversation
bf671a0
to
237f2fe
Compare
src/chat/markdown/index.scss
Outdated
@@ -111,4 +111,7 @@ | |||
} | |||
} | |||
} | |||
img { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不太建议这么写
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不太建议这么写
怎么说,有没有建议写法
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已修改
src/chat/markdown/index.tsx
Outdated
@@ -48,6 +49,9 @@ export default memo( | |||
hr() { | |||
return <hr color="#ebecf0" className="dtc__aigc__markdown__hr" />; | |||
}, | |||
img({ src, ...rest }) { | |||
return <Image src={src} {...(rest as any)} />; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
用 rc 的吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已修改
变更类型
请选择以下选项以描述 PR 的类型:
相关问题
变更内容
详细描述
对应 Previewer