Commit adb42cb0 authored by lxd's avatar lxd

feat: 组件升级

parent f84acd9e
......@@ -83,11 +83,11 @@ export default {
{
path: '/',
component: '../layouts/BasicLayout',
authority: ['admin', 'user'],
authority: ['Admin', 'user'],
routes: [
{
path: '/',
component: './Admin/Admin',
component: './Admin',
},
{
path: '/orderManage/pendingDeliveryOrder',
......
import React, { useState, useEffect } from 'react';
import { Row, Col } from 'antd';
import Link from 'umi/link';
import { Link } from 'umi';
// import { PageHeaderWrapper } from '@ant-design/pro-layout';
// eslint-disable-next-line import/no-extraneous-dependencies
import { FileTextOutlined } from '@ant-design/icons';
import style from './styles.less';
import { getPendingNum } from './service';
const Admin = props => {
const Admin = () => {
const [pendingNum, setpendingNum] = useState({});
useEffect(() => {
......
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