|
@@ -1,6 +1,7 @@
|
|
import React from 'react';
|
|
import React from 'react';
|
|
import { Card, Grid, Button, Row, Flex } from 'antd';
|
|
import { Card, Grid, Button, Row, Flex } from 'antd';
|
|
import { CloseOutlined } from '@ant-design/icons';
|
|
import { CloseOutlined } from '@ant-design/icons';
|
|
|
|
+import { getViewIconUrl } from '@/API/bodyPosition';
|
|
import { FormattedMessage } from 'react-intl';
|
|
import { FormattedMessage } from 'react-intl';
|
|
import { useSelector } from 'react-redux';
|
|
import { useSelector } from 'react-redux';
|
|
import type { RootState } from '@/states/store';
|
|
import type { RootState } from '@/states/store';
|
|
@@ -52,7 +53,7 @@ const SelectedProtocolList: React.FC<SelectedProtocolListProps> = () => {
|
|
<Flex>
|
|
<Flex>
|
|
<img
|
|
<img
|
|
alt="example"
|
|
alt="example"
|
|
- src="https://os.alipayobjects.com/rmsportal/QBnOOoLaAfKPirc.png"
|
|
|
|
|
|
+ src={getViewIconUrl(item.view_icon_name)}
|
|
style={{
|
|
style={{
|
|
width: cardSize.width * 0.6,
|
|
width: cardSize.width * 0.6,
|
|
height: cardSize.height * 0.5,
|
|
height: cardSize.height * 0.5,
|