ソースを参照

进入图表编辑界面请求数据源列表

zhuth 7 年 前
コミット
3166c6f586
1 ファイル変更1 行追加0 行削除
  1. 1 0
      src/components/chartDesigner/layout.jsx

+ 1 - 0
src/components/chartDesigner/layout.jsx

@@ -11,6 +11,7 @@ class ChartDesigner extends React.Component {
         const { dispatch } = this.props;
         const { code } = this.props.match.params;
         dispatch({ type: 'chartDesigner/reset' });
+        dispatch({ type: 'dataSource/fetchList' });
         if(code !== 'create') {
             dispatch({ type: 'chart/remoteDetail', code: code });
             dispatch({ type: 'chart/remoteGroupList', code: code });