You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
667 B
27 lines
667 B
import React, { useEffect } from "react";
|
|
import { connect } from "react-redux";
|
|
import { Card } from "@douyinfe/semi-ui";
|
|
import "../style.less";
|
|
|
|
const Example = (props) => {
|
|
const { dispatch, actions, user, loading } = props;
|
|
|
|
useEffect(() => {
|
|
// ACTION 示例
|
|
// dispatch(actions.example.getMembers(user.orgId));
|
|
}, []);
|
|
|
|
return <Card title="筛选条件" headerLine={false}></Card>;
|
|
};
|
|
|
|
function mapStateToProps(state) {
|
|
const { auth, global, members } = state;
|
|
return {
|
|
loading: members.isRequesting,
|
|
user: auth.user,
|
|
actions: global.actions,
|
|
members: members.data,
|
|
};
|
|
}
|
|
|
|
export default connect(mapStateToProps)(Example);
|
|
|