初始化 antd-pro
This commit is contained in:
10
admin-web/src/components/PageLoading/index.js
Normal file
10
admin-web/src/components/PageLoading/index.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import React from 'react';
|
||||
import { Spin } from 'antd';
|
||||
|
||||
// loading components from code split
|
||||
// https://umijs.org/plugin/umi-plugin-react.html#dynamicimport
|
||||
export default () => (
|
||||
<div style={{ paddingTop: 100, textAlign: 'center' }}>
|
||||
<Spin size="large" />
|
||||
</div>
|
||||
);
|
||||
Reference in New Issue
Block a user