Browse Source

创建报表前执行一次reset

zhuth 6 years ago
parent
commit
f0e5fad59c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/components/dashboard/list.jsx

+ 1 - 0
src/components/dashboard/list.jsx

@@ -319,6 +319,7 @@ class DashboardList extends React.Component {
                                 </Col>
                                 <Col >
                                     <Button onClick={() => {
+                                        dispatch({ type: 'dashboardDesigner/reset' });
                                         dispatch({ type: 'dashboard/remoteQucikAdd' });
                                     }}>
                                         <Icon type="layout" />创建报表