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

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

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