zlisen 3 years ago
parent
commit
22e146d994
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/pages/course/list/index.jsx

+ 1
- 1
src/pages/course/list/index.jsx View File

@@ -91,7 +91,7 @@ export default props => {
91 91
       dataIndex: 'name',
92 92
       key: 'name',
93 93
       align: 'center',
94
-      render: (text, record) => <Navigate to={`/${record.curriculumUrl}`}>{text}</Navigate>
94
+      render: (text, row) => <Button type='link' onClick={() => toEdit(row)}>{text}</Button>
95 95
     },
96 96
     {
97 97
       title: '课程主图',