Commit 2c3406e1 by zhaochengxiang

调整样式

parent e0e0c4fe
...@@ -80,5 +80,9 @@ div[id^='__qiankun_microapp_wrapper_'] { ...@@ -80,5 +80,9 @@ div[id^='__qiankun_microapp_wrapper_'] {
overflow: auto !important; overflow: auto !important;
} }
.yy-menu {
background-color: transparent !important;
}
import React, { useState, Fragment } from "react"; import React, { useState, Fragment } from "react";
import { Link } from 'react-router-dom'; import { Link } from 'react-router-dom';
import { Layout, Menu, message, Avatar } from 'antd'; import { Layout, Menu, Avatar } from 'antd';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import classnames from 'classnames'; import classnames from 'classnames';
import { UserOutlined, LogoutOutlined, MenuFoldOutlined, MenuUnfoldOutlined, HomeOutlined, FileOutlined, AppstoreOutlined } from "@ant-design/icons"; import { UserOutlined, LogoutOutlined, MenuFoldOutlined, MenuUnfoldOutlined, HomeOutlined, FileOutlined, AppstoreOutlined } from "@ant-design/icons";
......
import axios from 'axios'; import axios from 'axios';
import { message } from 'antd';
import { IsArr } from './index'; import { IsArr } from './index';
import { showMessage } from './index'; import { showMessage } from './index';
......
...@@ -11,6 +11,10 @@ class ImportExcel extends React.Component { ...@@ -11,6 +11,10 @@ class ImportExcel extends React.Component {
}; };
} }
downloadTemplate = () => {
window.open("/data-govern/docs/DataModel.xlsx");
}
render() { render() {
const { onChange } = this.props; const { onChange } = this.props;
...@@ -43,7 +47,7 @@ class ImportExcel extends React.Component { ...@@ -43,7 +47,7 @@ class ImportExcel extends React.Component {
return ( return (
<> <>
<div> <div>
<Button icon={<DownloadOutlined />}> <Button icon={<DownloadOutlined />} onClick={ this.downloadTemplate }>
模版下载 模版下载
</Button> </Button>
</div> </div>
......
import React, { useState } from 'react'; import React, { useState } from 'react';
import { Modal, Radio, Button, Form, message } from 'antd'; import { Modal, Radio, Button, Form } from 'antd';
import ImportLog from './ImportLog'; // import ImportLog from './ImportLog';
import ImportExcel from './ImportExcel'; import ImportExcel from './ImportExcel';
import ImportMetadata from './ImportMetadata'; import ImportMetadata from './ImportMetadata';
import ImportAction from './ImportAction'; import ImportAction from './ImportAction';
......
...@@ -20,6 +20,7 @@ const ModelTree = (props) => { ...@@ -20,6 +20,7 @@ const ModelTree = (props) => {
useEffect(() => { useEffect(() => {
getTreeData(); getTreeData();
//eslint-disable-next-line react-hooks/exhaustive-deps
}, []) }, [])
const getTreeData = () => { const getTreeData = () => {
......
import React, { Component } from "react"; import React, { Component } from "react";
import { Form, Input, Button, message } from 'antd'; import { Form, Input, Button } from 'antd';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import CryptoJS from "crypto-js"; import CryptoJS from "crypto-js";
import { UserOutlined, LockOutlined } from "@ant-design/icons"; import { UserOutlined, LockOutlined } from "@ant-design/icons";
......
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