Просмотр исходного кода

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

outaozhen 4 лет назад
Родитель
Сommit
0d98cd77de

+ 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>
               )