react,引入antd mobile里的modal弹窗,按教程修改不了样式的问题 #5818
-
js里使用modal.confirm的代码:
网上教程说只要在modal里面添加类名(如上面代码里的 bodyClassName: 'modal')
审查元素显示添加了modal的类名,但样式内容没有显示出来 |
Beta Was this translation helpful? Give feedback.
Answered by
IronKinoko
Nov 19, 2022
Replies: 1 comment 8 replies
-
你的写法是对的,请检查是否正确引入 css 文件。可以查看在线例子 |
Beta Was this translation helpful? Give feedback.
8 replies
Answer selected by
ken428965
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你的写法是对的,请检查是否正确引入 css 文件。可以查看在线例子