xieyonghong преди 3 години
родител
ревизия
00f3655944

+ 4 - 1
src/pages/device/Product/Detail/index.tsx

@@ -120,7 +120,10 @@ const ProductDetail = observer(() => {
             }
           }
           productModel.current = item;
-          message.success('操作成功');
+          message.success({
+            key: 'metadata',
+            content: '操作成功!',
+          });
         },
         error: async () => {
           message.success('操作失败');

+ 4 - 1
src/pages/device/components/Metadata/Base/Edit/index.tsx

@@ -1049,7 +1049,10 @@ const Edit = observer((props: Props) => {
         if (deploy) {
           Store.set('product-deploy', deploy);
         } else {
-          message.success('操作成功!');
+          message.success({
+            key: 'metadata',
+            content: '操作成功!',
+          });
         }
         MetadataModel.edit = false;
         MetadataModel.item = {};

+ 2 - 2
src/pages/home/components/Steps.tsx

@@ -17,8 +17,8 @@ interface StepsProps {
 const ItemDefaultImg = require('/public/images/home/bottom-1.png');
 const StepsItem = (props: StepItemProps) => {
   return (
-    <div className={'step-item step-bar arrow-1'} onClick={props.onClick}>
-      <div className={'step-item-title'}>
+    <div className={'step-item step-bar arrow-1'}>
+      <div className={'step-item-title'} onClick={props.onClick}>
         <div className={'step-item-img'}>
           <img src={props.url || ItemDefaultImg} />
         </div>

+ 1 - 0
src/pages/home/components/index.less

@@ -143,6 +143,7 @@
         font-weight: bold;
         font-size: 20px;
         background-color: #f8f9fd;
+        cursor: pointer;
 
         .step-item-img {
           position: absolute;