From 987c0218fa44bdcb57a3e4b8c7d5cfe5338fd03d Mon Sep 17 00:00:00 2001 From: sfmind <130201237@qq.com> Date: Sat, 19 Nov 2022 20:38:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E6=97=A0?= =?UTF-8?q?=E7=94=A8=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-app/util/request/index.js | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 yudao-ui-app/util/request/index.js diff --git a/yudao-ui-app/util/request/index.js b/yudao-ui-app/util/request/index.js deleted file mode 100644 index a27fb424d..000000000 --- a/yudao-ui-app/util/request/index.js +++ /dev/null @@ -1,14 +0,0 @@ -// 引入配置 -import config from '@/common/config' -// 初始化请求配置 -uni.$u.http.setConfig((defaultConfig) => { - /* defaultConfig 为默认全局配置 */ - defaultConfig.baseURL = config.baseUrl /* 根域名 */ - defaultConfig.header = config.header - return defaultConfig -}) - -module.exports = (vm) => { - require('./requestInterceptors')(vm) - require('./responseInterceptors')(vm) -}