diff --git a/src/route/AppElectron/AppElectron.tsx b/src/route/AppElectron/AppElectron.tsx index 766eee8..8ae3e22 100644 --- a/src/route/AppElectron/AppElectron.tsx +++ b/src/route/AppElectron/AppElectron.tsx @@ -1,20 +1,47 @@ -import React from 'react' +import { useState, useEffect } from 'react' +import { + Pagination, + // Table, + // Modal, + // Spin +} from 'antd'; import './app-election.css' import nothingImg from '../../static/appimgs/nothing.png' export default function AppElectron() { const height = window.innerHeight - 180; - const data = [] + const [page, setPage] = useState(1); + const [total, setTotal] = useState(0); + const data = [ + { name: '123' } + ] + useEffect(() => { + setTotal(100) + }, [page]) return (