mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-06-12 21:29:31 +08:00
fix: 修复首页文章请求地址默认使用代理问题
This commit is contained in:
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user