1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-06-10 20:29:28 +08:00

fix: 修复首页文章请求地址默认使用代理问题

This commit is contained in:
小莫唐尼
2024-05-25 15:00:48 +08:00
parent 85f166e7d0
commit 2154daea57
+2 -2
View File
@@ -206,7 +206,7 @@
arrayFormat: 'repeat'
})
uni.request({
url: '/apis/api.content.halo.run/v1alpha1/posts?' + paramsStr,
url: this.$baseApiUrl + '/apis/api.content.halo.run/v1alpha1/posts?' + paramsStr,
method: 'GET',
params: this.queryParams,
success: (res) => {
@@ -247,7 +247,7 @@
arrayFormat: 'repeat'
})
uni.request({
url: '/apis/api.content.halo.run/v1alpha1/posts?' + paramsStr,
url: this.$baseApiUrl + '/apis/api.content.halo.run/v1alpha1/posts?' + paramsStr,
method: 'GET',
params: this.queryParams,
success: (res) => {