fix: 修改组件名过长
This commit is contained in:
parent
efee26019a
commit
b2e5941eb9
@ -30,11 +30,11 @@ export interface ViewLargerImageModalProps {
|
||||
|
||||
export const ViewLargerImageModal = forwardRef<ViewLargerImageModalRef, ViewLargerImageModalProps>(
|
||||
(props, ref) => {
|
||||
|
||||
|
||||
const { ConfigContext } = ConfigProvider;
|
||||
const { getPrefixCls } = useContext(ConfigContext);
|
||||
const { prefixCls: customizePrefixCls, modalProps, downloadImg, imgStyle, title = '预警大图', downloadText = '下载大图', spaceProps } = props
|
||||
const componentName = getPrefixCls('biz-view-warning-larger-image-modalr', customizePrefixCls);
|
||||
const componentName = getPrefixCls('biz-warning-larger-image', customizePrefixCls);
|
||||
const { useToken } = theme
|
||||
const { token } = useToken()
|
||||
const [open, setOpen] = useState<boolean>(false);
|
||||
|
@ -1,4 +1,4 @@
|
||||
.zhst-biz-view-warning-larger-image-modal {
|
||||
.zhst-biz-warning-larger-image {
|
||||
font-family: MicrosoftYaHei;
|
||||
|
||||
.ant-modal-content {
|
||||
|
Loading…
Reference in New Issue
Block a user