From eed6c8ea72f0153a859064123f1dd0d005f73de7 Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Wed, 20 Mar 2024 17:03:53 +0800
Subject: [PATCH] 修复图片预览组件,多个缩略图异常回退时,显示异常的问题

---
 bases/HostBoot.js |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/bases/HostBoot.js b/bases/HostBoot.js
index 83aefda..12f98bc 100644
--- a/bases/HostBoot.js
+++ b/bases/HostBoot.js
@@ -14,7 +14,6 @@
      */
     constructor() {
         this._data = {
-            mockOff: Tools.getUrlParam('mock') === 'off',
             // 可用主机列表
             hostList: {
                 ...project.host.hosts,
@@ -194,9 +193,6 @@
      */
     isOnMock() {
         if (this.isDevMod()) {
-            if (this._data.mockOff) {
-                return false;
-            }
             return this.getHostName() === 'lc';
         } else {
             return false;

--
Gitblit v1.9.1