fix: 修改组件名过长

This commit is contained in:
苑宏博 2024-04-22 15:52:38 +08:00
parent efee26019a
commit b2e5941eb9
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -1,4 +1,4 @@
.zhst-biz-view-warning-larger-image-modal {
.zhst-biz-warning-larger-image {
font-family: MicrosoftYaHei;
.ant-modal-content {