注释// const history = useHistory();
This commit is contained in:
@ -35,7 +35,7 @@ const ProjectManage: React.FC<ProjectManageProps> = (props) => {
|
||||
const procurementTypeEntrust = 'procurement_type=entrust';
|
||||
//采购方式
|
||||
const procurementModeEntrust = 'procurement_mode=entrust';
|
||||
const history = useHistory();
|
||||
// const history = useHistory();
|
||||
|
||||
const columns: ProColumns<any>[] = [
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ const ProjectDocumentation: React.FC = () => {
|
||||
//获取字典
|
||||
const getDict: any = getDicData();
|
||||
const dictData = JSON.parse(getDict);
|
||||
const history = useHistory();
|
||||
// const history = useHistory();
|
||||
/**
|
||||
* proList信息
|
||||
*/
|
||||
|
@ -30,7 +30,7 @@ const PurchasingManagerEnquiries: React.FC = () => {
|
||||
const procurementTypeEntrust = 'procurement_type=entrust';
|
||||
//采购方式
|
||||
const procurementModeEntrust = 'procurement_mode=entrust';
|
||||
const history = useHistory();
|
||||
// const history = useHistory();
|
||||
const columns: ProColumns<any>[] = [
|
||||
{
|
||||
title: '序号',
|
||||
|
@ -43,7 +43,7 @@ const FavoritesList: React.FC<FavoritesListProps> = (props) => {
|
||||
const [selectedRows, setSelectedRows] = useState<any[]>([]);
|
||||
|
||||
|
||||
const history = useHistory();
|
||||
// const history = useHistory();
|
||||
const ref = useRef<ActionType>();
|
||||
const columns: ProColumns<any>[] = [
|
||||
{
|
||||
|
@ -42,7 +42,7 @@ const ProjectManage: React.FC<ProjectManageProps> = (props) => {
|
||||
//选中
|
||||
const [selectedRows, setSelectedRows] = useState<any[]>([]);
|
||||
|
||||
const history = useHistory();
|
||||
// const history = useHistory();
|
||||
const ref = useRef<ActionType>();
|
||||
const columns: ProColumns<any>[] = [
|
||||
|
||||
|
Reference in New Issue
Block a user