diff --git a/public/react/src/modules/tpm/shixuns/ShixunsIndex.js b/public/react/src/modules/tpm/shixuns/ShixunsIndex.js
index bbf63ca2d..468afc43a 100644
--- a/public/react/src/modules/tpm/shixuns/ShixunsIndex.js
+++ b/public/react/src/modules/tpm/shixuns/ShixunsIndex.js
@@ -52,7 +52,7 @@ class ShixunsIndex extends Component {
axios.get(upsystem).then((response)=>{
let updata=response.data;
this.setState({
- updata
+ updata:updata
})
}).catch((error)=>{
console.log(error);
@@ -379,12 +379,12 @@ class ShixunsIndex extends Component {
render() {
let {middleshixundata, typepvisible, pages, search_tags, keyword,parsedid,newtag_level,newpalce} = this.state;
+ console.log(this.state.updata)
return (
-
+ />}
{/*
*/}
{
- const upsystem=`/users/system_update.json`;
+ let upsystem=`/users/system_update.json`;
axios.get(upsystem).then((response)=>{
let updata=response.data;
this.setState({
- updata
+ updata:updata
})
}).catch((error)=>{
console.log(error);
@@ -68,7 +68,6 @@ class Infos extends Component{
//判断是否看的是当前用户的个人主页
componentDidUpdate =(prevProps)=> {
if(this.props.current_user && prevProps.current_user != this.props.current_user){
- console.log(this.props);
if(this.props.current_user.login != this.props.match.params.username){
this.setState({
is_current:false,
@@ -226,10 +225,9 @@ class Infos extends Component{
moduleName=pathname.split("/")[3];
return(
-
+ />}
{
isRenders && this.cancelModulationModels()}/>
}