Commit b9dd692f authored by 皮倩雯's avatar 皮倩雯

fix: '数据库初始化日志优化升级'

parent b66e2495
Pipeline #56790 waiting for manual action with stages
......@@ -866,7 +866,7 @@ const InitDataBase = props => {
</Button>
</Space>
<Space>
<Button
{/* <Button
type="primary"
// onClick={() => {
// getInitList();
......@@ -877,7 +877,7 @@ const InitDataBase = props => {
}}
>
数据库初始化
</Button>
</Button> */}
</Space>
</Space>
</div>
......
......@@ -52,7 +52,7 @@ InitDataBaseContainer {
.initItemData1 {
height: calc(100vh - 190px);
overflow: scroll;
// overflow: scroll;
.btnBox {
display: flex !important;
justify-content: flex-end;
......@@ -62,6 +62,11 @@ InitDataBaseContainer {
margin-bottom: 10px;
margin-left: 8px;
}
// .ant-checkbox-wrapper {
// width: 298px;
// margin-bottom: 10px;
// margin-left: 8px;
// }
.view:hover {
cursor: not-allowed;
}
......@@ -75,7 +80,7 @@ InitDataBaseContainer {
justify-content: flex-end;
}
.ant-checkbox-wrapper {
width: 350px;
width: 269px;
margin-bottom: 10px;
margin-left: 8px;
}
......
......@@ -7,7 +7,7 @@
* @Description:
* @Author: leizhe
* @Date: 2022-07-13 16:13:03
* @LastEditTime: 2022-07-28 19:24:59
* @LastEditTime: 2022-08-01 09:59:17
* @LastEditors: leizhe
*/
import React, { useState, useEffect } from 'react';
......@@ -323,12 +323,12 @@ const InitModal = props => {
</Button>,
]}
>
<div className={styles.initItemData1}>
<div>
{visible && (
<div>
<div className={styles.initItemData1}>
{title &&
title.map((item, index) => (
<div className={styles.cardItemData} key={index}>
<div key={index}>
<Divider
orientation="center"
style={{
......
......@@ -2,7 +2,7 @@
* @Description:
* @Author: leizhe
* @Date: 2022-01-13 17:26:14
* @LastEditTime: 2022-03-22 16:22:07
* @LastEditTime: 2022-08-02 14:10:39
* @LastEditors: leizhe
*/
import React, { useState } from 'react';
......@@ -27,7 +27,7 @@ const AddModal = props => {
})
.then(res => {
setLoading(false);
if (res.msg === '') {
if (res.code === 0) {
form.resetFields();
notification.success({
message: '通知',
......@@ -39,7 +39,7 @@ const AddModal = props => {
notification.error({
message: '提示',
duration: 3,
description: res.message,
description: res.msg,
});
}
})
......
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