소스 검색

feat: 云版产品名称展示,紫色改为白色

outaozhen 4 년 전
부모
커밋
0d98cd77de
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/pages/Product/Cloud/components/Detail/TabList.tsx
  2. 2 2
      src/pages/Product/Cloud/index.tsx

+ 1 - 1
src/pages/Product/Cloud/components/Detail/TabList.tsx

@@ -67,7 +67,7 @@ const RoadpricingTabList = props => {
       title: '产品',
       dataIndex: 'name',
       width: '10%',
-      render: (_, record) => <Tag color="purple">{record.name}</Tag>
+      render: (_, record) => <Tag>{record.name}</Tag>
     },
     {
       title: '状态',

+ 2 - 2
src/pages/Product/Cloud/index.tsx

@@ -167,7 +167,7 @@ const Cloud = ({ cloud, dispatch }) => {
         }
         return obj
       }, {}),
-      renderText: (_, record) => record.latestUsedName && <Tag color="purple">{record.latestUsedName}</Tag>
+      renderText: (_, record) => record.latestUsedName && <Tag>{record.latestUsedName}</Tag>
     },
     {
       title: '地区',
@@ -218,7 +218,7 @@ const Cloud = ({ cloud, dispatch }) => {
             )
             .map(item => {
               return (
-                <Tag color="purple" key={item.compilationID}>
+                <Tag key={item.compilationID}>
                   {memoRef.compilation?.find(i => i._id === item.compilationID)?.name}
                 </Tag>
               )