|
@@ -1,9 +1,10 @@
|
|
-import React from 'react';
|
|
|
|
-import { Spin } from 'antd';
|
|
|
|
|
|
+import React from "react";
|
|
|
|
+import { Spin } from "antd";
|
|
|
|
|
|
// loading components from code split
|
|
// loading components from code split
|
|
// https://umijs.org/plugin/umi-plugin-react.html#dynamicimport
|
|
// https://umijs.org/plugin/umi-plugin-react.html#dynamicimport
|
|
export default () => (
|
|
export default () => (
|
|
- <div style={{ paddingTop: 100, textAlign: 'center' }}>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <Spin>
|
|
|
|
+ <div style={{ paddingTop: 100, textAlign: "center" }} />
|
|
|
|
+ </Spin>
|
|
);
|
|
);
|