Selaa lähdekoodia

feat(产品): 添加下载成功提示

xieyonghong 4 vuotta sitten
vanhempi
commit
244f23944c
2 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 1 0
      src/app.tsx
  2. 1 0
      src/pages/device/Product/index.tsx

+ 1 - 0
src/app.tsx

@@ -193,6 +193,7 @@ export const layout: RunTimeLayoutConfig = ({ initialState }) => {
       }
     },
     menuDataRender: () => {
+      console.log(getMenus(extraRoutes));
       return getMenus(extraRoutes);
     },
     links: isDev

+ 1 - 0
src/pages/device/Product/index.tsx

@@ -159,6 +159,7 @@ const Product = observer(() => {
                 defaultMessage: '产品',
               }),
             );
+            message.success('操作成功');
           }}
         />
       </Button>