Commit 31ae8ded authored by Maofei94's avatar Maofei94

fix: 数据库初始化

parent 36e12bc7
Pipeline #22495 passed with stages
in 18 minutes 46 seconds
......@@ -136,10 +136,10 @@ const InitDataBase = props => {
setInitVisible(true);
let obj = form.getFieldsValue();
doInitLog();
for (let i = 0; i < 3; i++) {
for (let i = 0; i < 10; i++) {
setTimeout(() => {
doInitLog();
}, 100);
}, 1000);
}
initDBv4({
......@@ -614,7 +614,9 @@ const InitDataBase = props => {
marginRight: ' -24px',
}}
>
{initContent}
{initContent || (
<Spin spinning style={{ width: '100%', marginTop: '40px' }} />
)}
</div>
</Modal>
......
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