From 85fc2bad4e2e38b6466e948628e162717dd09dda Mon Sep 17 00:00:00 2001 From: wuzuowei Date: Wed, 15 May 2024 19:21:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform-code/src/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform-code/src/app.ts b/platform-code/src/app.ts index 39f1ce2..2679dbc 100644 --- a/platform-code/src/app.ts +++ b/platform-code/src/app.ts @@ -239,7 +239,7 @@ export async function getInitialState() { let params = await model.parameters() //console.log("params", params) const host: string = window.location.hostname - if (window.top === window.self) { + if (window.top !== window.self) { window.location.href = 'https://metal.dayesteel.com.cn'; return; }