From bd7e1b274205a3bcb0d96ec18bda17cf9fd04b64 Mon Sep 17 00:00:00 2001 From: caishi Date: Tue, 2 Nov 2021 14:56:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E4=BD=93=E9=A1=B5=E9=9D=A2=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E6=9C=80=E4=BD=8E=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/tpm/TPMIndexHOC.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/tpm/TPMIndexHOC.js b/src/modules/tpm/TPMIndexHOC.js index 1f4af0a1..810534ac 100644 --- a/src/modules/tpm/TPMIndexHOC.js +++ b/src/modules/tpm/TPMIndexHOC.js @@ -67,6 +67,7 @@ export function TPMIndexHOC(WrappedComponent) { ///请求定制化的信息 this.getAppdata(); + window.scrollTo(0,0); } @@ -221,12 +222,14 @@ export function TPMIndexHOC(WrappedComponent) { >
+
{ current_user && this.initCommonState(user)} {...this.props} {...this.state} {...common} > } +