fix: 修改包引入方式

This commit is contained in:
YuanHongbo 2024-03-18 10:39:52 +08:00
parent 59ce1a5218
commit b5faa55ada
2 changed files with 8 additions and 4 deletions

View File

@ -1,8 +1,11 @@
import React from 'react'; import React from 'react';
import { ViewLargerImageModal, WarningRecordCard, IRecord, ViewLargerImageModalRef } from '@zhst/biz'; import { IRecord } from '../../../WarningRecordCard';
import { ViewLargerImageModalRef } from '../../../ViewLargerImageModal';
import WarningRecordCard from '../../../WarningRecordCard';
import ViewLargerImageModal from '../../../ViewLargerImageModal';
import { Empty, Space, Spin } from 'antd'; import { Empty, Space, Spin } from 'antd';
import "./index.less"
import { LoadingOutlined } from '@ant-design/icons'; import { LoadingOutlined } from '@ant-design/icons';
import "./index.less"
interface WarningRecordListProps { interface WarningRecordListProps {
dataSource?: IRecord[]; dataSource?: IRecord[];

View File

@ -1,9 +1,10 @@
import React, { useState } from 'react'; import React, { useState } from 'react';
import VideoPlayerCard from '../../../VideoPlayerCard';
import { VideoPlayerCardProps } from '../../../VideoPlayerCard';
import { Segmented } from 'antd'; import { Segmented } from 'antd';
import { AppstoreOutlined, BarsOutlined } from '@ant-design/icons'; import { AppstoreOutlined, BarsOutlined } from '@ant-design/icons';
import { VideoPlayerCard, VideoPlayerCardProps } from '@zhst/biz';
import './index.less'
import { theme } from 'antd/lib'; import { theme } from 'antd/lib';
import './index.less'
type Size = 'large' | 'small' type Size = 'large' | 'small'