From 7fa67d91bfedaa79bc62b08a7d3cbe2d0bee815b Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Mon, 03 Apr 2023 09:48:11 +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