Commit 8c751344 authored by wuhao's avatar wuhao 🎯

asder

parent 39c70a78
Pipeline #3587 passed with stages
in 2 minutes and 39 seconds
......@@ -9,7 +9,7 @@ import editorIsNull from "@/utils/editorIsNull";
import { Box, Container, Grid, Link, Stack, Typography } from "@mui/material";
import { useParams } from "@umijs/max";
import { useRequest } from "ahooks";
import { Badge, message, Tabs } from "antd";
import { message, Tabs } from "antd";
import { useEffect, useMemo, useRef, useState } from "react";
import { history } from "umi";
......@@ -292,7 +292,7 @@ function Dolessons() {
},
{
key: "2",
label: '查看实验',
label: "查看实验",
children: (
<Box boxShadow={"0 0 18px #f0f0f0"} borderRadius={2}>
<AutoTable
......@@ -459,6 +459,7 @@ function Dolessons() {
...val,
id: drawer?.defaultFormValue?.id,
trainId: params?.id,
type: "edit",
};
default:
break;
......
......@@ -241,18 +241,7 @@ function Dolessons() {
<AutoTable
rerendered={false}
actionRef={cksyactionRef}
columns={[
...experimentColumns,
{
title: "操作",
valueType: "option",
width: 180,
render: (text, row, _, action) => [
edit(text, row, _, action),
remove(text, row, _, action),
],
},
]}
columns={[...experimentColumns]}
path="/studentTrain/experimentPage"
extraparams={{
id: params?.id,
......@@ -285,7 +274,6 @@ function Dolessons() {
},
];
const handleClose = () => {
setDrawer((s) => ({
...s,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment