feat: 修改分类

This commit is contained in:
秋水浮尘
2023-10-23 00:16:53 +08:00
parent ced3be52f4
commit 26f51df723
4 changed files with 81 additions and 9 deletions

View File

@@ -123,7 +123,7 @@ const QuestionList = (props) => {
const onChangeAction = (item, index) => () => {
let { isNotToDetail, difficulty, primaryCategoryId, labelList, pageIndex } =
props;
!isNotToDetail && navigate("/brush-question")
!isNotToDetail && navigate("/brush-question/" + item.id)
// this.props.history.push(
// splicingQuery("/brush-questions", {
// id: item?.id,
@@ -191,9 +191,10 @@ const QuestionList = (props) => {
}}
columns={questionColumns}
dataSource={questionList}
rowKey={(record) => record.id}
rowKey="id"
pagination={false}
rowClassName="question-table-row"
/>
{/* {total > 10 && (
<Pagination