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, + }) } }}/>