Skip to content

Commit

Permalink
拉取数据页面增加显示key
Browse files Browse the repository at this point in the history
  • Loading branch information
dushixiang committed Jun 12, 2021
1 parent fcbf12f commit 35e76b9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion web/src/App.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, {Component} from 'react';
import 'antd/dist/antd.css';
import './App.css';
import {Button, ConfigProvider, Dropdown, Layout, Menu, Tooltip, Typography} from 'antd';
import {Button, ConfigProvider, Dropdown, Layout, Menu, Tooltip} from 'antd';
import {Link, Route, Switch} from 'react-router-dom';
import Cluster from "./components/Cluster";
import Topic from "./components/Topic";
Expand Down
6 changes: 2 additions & 4 deletions web/src/components/Login.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
import React, {Component} from 'react';
import {Button, Card, Checkbox, Form, Input, Modal, Typography} from "antd";
import {Button, Card, Form, Input, Typography} from "antd";
import './Login.css'
import request from "../common/request";
import {message} from "antd/es";
import {withRouter} from "react-router-dom";
import {LockOutlined, OneToOneOutlined, UserOutlined} from '@ant-design/icons';
import {LockOutlined, UserOutlined} from '@ant-design/icons';

const {Title} = Typography;

class LoginForm extends Component {

formRef = React.createRef();
totpInputRef = React.createRef();

state = {
inLogin: false,
Expand Down
2 changes: 2 additions & 0 deletions web/src/components/TopicData.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ class TopicData extends Component {
<Space>
<Text code>partition:</Text>
<Text>{item['partition']}</Text>
<Text code>key:</Text>
<Text>{item['key']}</Text>
<Text code>offset:</Text>
<Text>{item['offset']}</Text>
<Text code>timestamp:</Text>:
Expand Down

0 comments on commit 35e76b9

Please sign in to comment.