添加公众号配置
This commit is contained in:
@ -21,6 +21,7 @@ const httpInterceptor = {
|
||||
options.url += `?${queryStr}`
|
||||
}
|
||||
}
|
||||
|
||||
// 非 http 开头需拼接地址
|
||||
if (!options.url.startsWith('http')) {
|
||||
// #ifdef H5
|
||||
@ -32,6 +33,7 @@ const httpInterceptor = {
|
||||
else {
|
||||
options.url = baseUrl + options.url
|
||||
}
|
||||
|
||||
// #endif
|
||||
// 非H5正常拼接
|
||||
// #ifndef H5
|
||||
|
||||
Reference in New Issue
Block a user