zhouna 4 лет назад
Родитель
Сommit
3758729e28
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      src/components/DiagnosticItem/index.jsx
  2. 1 1
      src/containers/DiagnosticList.js

+ 1 - 1
src/components/DiagnosticItem/index.jsx

@@ -93,7 +93,7 @@ class DiagnosticItem extends Component{
                EMRScrollCont.scrollYTo(scrollTop);
             })
          }
-        showSym&&store.dispatch(embedPush({}))
+        showSym&&store.dispatch(embedPush({mode:10,action: "diag",}))
 
     }
     handleMouseEnterDrug() {

+ 1 - 1
src/containers/DiagnosticList.js

@@ -86,7 +86,7 @@ function mapDispatchToProps(dispatch) {
                 type: GET_DIAGNOSTIC_STR,
                 isTcm
             });
-            dispatch(embedPush())
+            dispatch(embedPush({mode:10,action: "diag"}))
         },
         delReact: (item) => {
             dispatch({