From b4ec4b9a95032194a84696104aafb27cd5a3ad11 Mon Sep 17 00:00:00 2001 From: stacker <599542779@qq.com> Date: Wed, 21 Jul 2021 07:00:05 +0000 Subject: [PATCH 1/2] update _common/modules/integrationAPI.01/installationAPI.01/pemFioi/buttonsAndMessages.js. Remove unnecessary debug printing --- .../installationAPI.01/pemFioi/buttonsAndMessages.js | 1 - 1 file changed, 1 deletion(-) diff --git a/_common/modules/integrationAPI.01/installationAPI.01/pemFioi/buttonsAndMessages.js b/_common/modules/integrationAPI.01/installationAPI.01/pemFioi/buttonsAndMessages.js index 0d45067..ff417ca 100644 --- a/_common/modules/integrationAPI.01/installationAPI.01/pemFioi/buttonsAndMessages.js +++ b/_common/modules/integrationAPI.01/installationAPI.01/pemFioi/buttonsAndMessages.js @@ -1277,7 +1277,6 @@ function setCookie(cookieName) { restartAllNoConfirm: function() { setCookie('reload') - console.log('加载了') window.location.reload(); // displayHelper.stopShowingResult(); // if (!displayHelper.hasLevels) { -- Gitee From 6b56993c2678385af156e9a2a5015bb2f8a613a5 Mon Sep 17 00:00:00 2001 From: stacker <599542779@qq.com> Date: Wed, 21 Jul 2021 07:01:40 +0000 Subject: [PATCH 2/2] update _common/modules/integrationAPI.01/installationAPI.01/pemFioi/stepGuidance.js. Remove unnecessary debug printing --- .../installationAPI.01/pemFioi/stepGuidance.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/_common/modules/integrationAPI.01/installationAPI.01/pemFioi/stepGuidance.js b/_common/modules/integrationAPI.01/installationAPI.01/pemFioi/stepGuidance.js index 631a900..d3e1925 100644 --- a/_common/modules/integrationAPI.01/installationAPI.01/pemFioi/stepGuidance.js +++ b/_common/modules/integrationAPI.01/installationAPI.01/pemFioi/stepGuidance.js @@ -42,9 +42,7 @@ class StepGuidance { this.guidanceName = guidanceName } init() { - if (this.getReloadState()) { - console.log('页面为点击重载,不再加载步骤引导') - } else { + if (!this.getReloadState()) { window.onload = () => { this.guidanceBegin() this.updateGuidanceStep() -- Gitee