From a93d62ad327326917ec7093c1b282179ea48b517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Fri, 29 Nov 2019 10:06:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/tpm/SiderBar.js | 87 +++++++++++++---------- public/react/src/modules/tpm/TPMIndex.css | 3 + 2 files changed, 52 insertions(+), 38 deletions(-) diff --git a/public/react/src/modules/tpm/SiderBar.js b/public/react/src/modules/tpm/SiderBar.js index 9312b24fd..0338481f7 100644 --- a/public/react/src/modules/tpm/SiderBar.js +++ b/public/react/src/modules/tpm/SiderBar.js @@ -1,5 +1,6 @@ import React, { Component } from 'react'; import { getImageUrl} from 'educoder'; +import {Tooltip} from 'antd'; import './TPMIndex.css'; const $ = window.$; @@ -81,60 +82,70 @@ class SiderBar extends Component { } componentDidMount() { - _initSider(); + _initSider() } render() { + // console.log(this.props) return (