mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2025-05-19 10:00:13 +09:00
fix: 修复首页文章请求地址默认使用代理问题
This commit is contained in:
parent
85f166e7d0
commit
2154daea57
@ -206,7 +206,7 @@
|
|||||||
arrayFormat: 'repeat'
|
arrayFormat: 'repeat'
|
||||||
})
|
})
|
||||||
uni.request({
|
uni.request({
|
||||||
url: '/apis/api.content.halo.run/v1alpha1/posts?' + paramsStr,
|
url: this.$baseApiUrl + '/apis/api.content.halo.run/v1alpha1/posts?' + paramsStr,
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
params: this.queryParams,
|
params: this.queryParams,
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
@ -247,7 +247,7 @@
|
|||||||
arrayFormat: 'repeat'
|
arrayFormat: 'repeat'
|
||||||
})
|
})
|
||||||
uni.request({
|
uni.request({
|
||||||
url: '/apis/api.content.halo.run/v1alpha1/posts?' + paramsStr,
|
url: this.$baseApiUrl + '/apis/api.content.halo.run/v1alpha1/posts?' + paramsStr,
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
params: this.queryParams,
|
params: this.queryParams,
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user