antd proTable 使用 Switch,请求接口成功后更新指定行
import {
Switch } from 'antd';
const {
dispatch, switchLoading } = props;
const switchClick = (record, action) => {
dispatch({
type: 'InspectPlan/pla
antd proTable 使用 Switch,请求接口成功后更新指定行
import {
Switch } from 'antd';
const {
dispatch, switchLoading } = props;
const switchClick = (record, action) => {
dispatch({
type: 'InspectPlan/pla