this.setState({ [isShowKey]: true })}
>
{itemKey === "password" ? "********" : itemValue}
@@ -152,14 +184,18 @@ class UserInfo extends React.Component {
render() {
const { isModelShow } = this.state;
- const { icon, username } = this.props;
+ const { icon } = this.props;
return (
{/* 头像昵称 */}
-
this.setState({ isModelShow: false })} onChange={this.actionIdChange.bind(this)} />
+ this.setState({ isModelShow: false })}
+ onChange={this.actionIdChange.bind(this)}
+ />
);
}
diff --git a/front/src/pages/userSpace/index.jsx b/front/src/pages/userSpace/index.jsx
index 38dd53e..03968e2 100644
--- a/front/src/pages/userSpace/index.jsx
+++ b/front/src/pages/userSpace/index.jsx
@@ -1,5 +1,4 @@
import React from "react";
-import styles from "./index.module.less";
import MainLayout from "../../layout/MainLayout";
import { connect } from "react-redux";
import * as action from "../../redux/action/LoginInfoAction";
@@ -21,7 +20,6 @@ class UserSpace extends React.Component {
this.state = {};
}
render() {
- const { icon, username } = this.props;
return (