From 057e40f413c2ef93f6ec71dbb06c491d169c6c6f Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Wed, 22 Nov 2023 18:57:08 +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