From 019840aaa3e52595c9ebd92475f8e816a9f73786 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Sat, 02 Dec 2023 20:14:15 +0800 Subject: [PATCH] 首页菜单布局组件,增加分组标题 --- bases/Fetcher.js | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/bases/Fetcher.js b/bases/Fetcher.js index c81008e..5a3c494 100644 --- a/bases/Fetcher.js +++ b/bases/Fetcher.js @@ -64,12 +64,8 @@ spellURL(devSuffix, serSuffix) { let url = ''; // mock地址 - if ($hostBoot.isDevMod()) { - if ($hostBoot.isOnMock()) { - url = this._data.urlPrefix[0].replace('api/', '') + devSuffix + '.json'; - } else { - url = this._data.urlPrefix[0] + devSuffix; - } + if ($hostBoot.isOnMock()) { + url = this._data.urlPrefix[0].replace('api/', '') + devSuffix + '.json'; } // 正常地址 else { -- Gitblit v1.9.1