1
0
şunun yansıması https://github.com/ialley-workshop-open/uni-halo.git eşitlendi 2026-06-12 13:19:31 +08:00

refactor: 将页面配置通过插件动态化配置(plugin-uni-halo)

Bu işleme şunda yer alıyor:
小莫唐尼
2024-06-24 18:59:05 +08:00
ebeveyn 959acab9c7
işleme e17edade28
54 değiştirilmiş dosya ile 5299 ekleme ve 5653 silme
+3 -4
Dosyayı Görüntüle
@@ -1,5 +1,5 @@
/**
* 功能:请求工具
* 功能:请求工具
* 作者:小莫唐尼
* 邮箱:studio@925i.cn
* 时间:2022年07月21日 18:58:03
@@ -10,7 +10,6 @@
* 修改时间:
*/
import HaloConfig from '@/config/halo.config.js'
import HaloTokenConfig from '@/config/token.config.js'
import {
setInterceptors
@@ -25,13 +24,13 @@ http.setConfig((config) => {
config.baseURL = HaloTokenConfig.BASE_API;
config.header = {
...config.header,
...config.header,
ContentType: 'application/json',
dataType: 'json'
}
return config
})
setInterceptors(http)
export {