Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: jump to top
Browse files Browse the repository at this point in the history
youyc22 committed Jan 13, 2025
1 parent 45cfb88 commit ed65abd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/app/ShareSite/CoursePage/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState, useEffect } from "react";
import { Button, Layout, message } from "antd";
import { PlusOutlined } from "@ant-design/icons";
import { Layout, message } from "antd";
// import { PlusOutlined } from "@ant-design/icons";
//import { useUrl } from "../../../api/hooks/url";
import * as graphql from "@/generated/graphql";
import { ProColumns, ProTable } from "@ant-design/pro-components";
@@ -211,11 +211,11 @@ const CoursesPage: React.FC<PageProps> = ({ mode, user }) => {
}}
dateFormatter="string"
headerTitle="课程列表"
toolBarRender={() => [
<Button key="button" icon={<PlusOutlined />} type="primary">
导入
</Button>,
]}
// toolBarRender={() => [
// <Button key="button" icon={<PlusOutlined />} type="primary">
// 导入
// </Button>,
// ]}
/>
</Layout>
);

0 comments on commit ed65abd

Please sign in to comment.