Browse Source

删除图表后返回图表列表

zhuth 6 years ago
parent
commit
8818ef8489
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/chartDesigner/header.jsx

+ 1 - 1
src/components/chartDesigner/header.jsx

@@ -154,7 +154,7 @@ class Header extends React.Component {
                         }}
                         okHandler={() => {
                             dispatch({ type: 'chart/remoteDelete', code: chartDesigner.code });
-                            dispatch({ type: 'main/goBack', path: '/workshop/chart' });
+                            dispatch({ type: 'main/redirect', path: '/workshop/chart' });
                     }} />}
                 </div>
             </div>