// BasePage/index.js
import React, {
useState, useCallback, useRef } from 'react'
import {
ProTable, TableDropdown } from '@ant-design/pro-components';
function BasePage(props) {
const [pageNum,setPageNum] = useState(1) // 请求页码默认为1
const columns = [
{
title: 'id',
dataIndex: 'id',
hideInSearch: true,
},
{
title: 'name',
ant design之protable的render自动处理null值转换‘-‘问题
于 2022-08-26 14:58:19 首次发布