#
luxiaotao1123
2024-02-14 bb2bbe8d4d74ee522ca51dfdff12d325cf6a60be
#
1个文件已修改
12 ■■■■■ 已修改文件
zy-asrs-flow/src/pages/system/role/index.jsx 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/system/role/index.jsx
@@ -79,8 +79,7 @@
    }
};
const LogininforTableList = () => {
const Main = () => {
    const formTableRef = useRef();
    const actionRef = useRef();
    const [selectedRows, setSelectedRows] = useState([]);
@@ -112,7 +111,6 @@
            render: (_, record) => [
                <Button
                    type="link"
                    size="small"
                    key="edit"
                    onClick={() => {
                        setModalVisible(true);
@@ -123,7 +121,6 @@
                </Button>,
                <Button
                    type="link"
                    size="small"
                    danger
                    key="batchRemove"
                    onClick={async () => {
@@ -158,7 +155,7 @@
                    actionRef={actionRef}
                    formRef={formTableRef}
                    rowKey="id"
                    key="logininforList"
                    key="role"
                    search={{
                        labelWidth: 120,
                    }}
@@ -200,6 +197,7 @@
                    }}
                />
            </div>
            {selectedRows?.length > 0 && (
                <FooterToolbar
                    extra={
@@ -217,8 +215,6 @@
                            Modal.confirm({
                                title: '删除',
                                content: '确定删除该项吗?',
                                okText: '确认',
                                cancelText: '取消',
                                onOk: async () => {
                                    const success = await handleRemove(selectedRows);
                                    if (success) {
@@ -264,4 +260,4 @@
    );
};
export default LogininforTableList;
export default Main;