From 6f32dd0a64101b8b70e422f9ded71170346f901d Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sat, 13 Jun 2020 07:18:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=B6=E9=97=B4=E5=B8=81=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Main.tsx | 2 +- src/my/MyInfo.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Main.tsx b/src/Main.tsx index 377bfc6..c239372 100644 --- a/src/Main.tsx +++ b/src/Main.tsx @@ -234,7 +234,7 @@ export class Main extends React.Component< if('timeScore' in value){ this.props.cookies.set(time_score,value.timeScore) this.setState({ - userType:value.userType, + timeScore:value.timeScore, changeTip:

已刷新时间币

}) } diff --git a/src/my/MyInfo.tsx b/src/my/MyInfo.tsx index 6c55d86..45819db 100644 --- a/src/my/MyInfo.tsx +++ b/src/my/MyInfo.tsx @@ -377,7 +377,8 @@ export class MyInfo extends React.Component< }) if(this.props.cookies?.get(user_type_cookie)!==this.state.userEdit.userType&&this.props.refreshFun) { this.props.refreshFun({ - userType:this.state.userEdit.userType + userType:this.state.userEdit.userType, + }) } }}/>