lanjianrong 5 年 前
コミット
aa260dea71
1 ファイル変更7 行追加1 行削除
  1. 7 1
      src/pages/workbench/Dashboard/index.jsx

+ 7 - 1
src/pages/workbench/Dashboard/index.jsx

@@ -370,7 +370,13 @@ const Dashboard = ({ dispatch, permData = {}, groupList = [] }) => {
                 <span>销售漏斗</span>
                 <div className="absolute right-1 top-0">
                   {groupList[0]?.value ? (
-                    <Select defaultValue={groupList[0]?.value} options={groupList} />
+                    <Select
+                      defaultValue={groupList[0]?.value}
+                      options={groupList}
+                      onChange={e =>
+                        setState({ ...state, params: { ...state.params, businessGroupId: e } })
+                      }
+                    />
                   ) : null}
                 </div>
               </div>