From 8faa466021846a748c4bbc9f36d742e7ad6445b8 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Sun, 19 May 2024 23:20:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=8F=91=E5=AE=8C=E6=88=90=E8=AE=BF?= =?UTF-8?q?=E5=AE=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/config.js | 2 +- manifest.json | 4 ++-- pages/index/index.vue | 5 +---- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/conf/config.js b/conf/config.js index 30d306e..2b472b4 100644 --- a/conf/config.js +++ b/conf/config.js @@ -15,7 +15,7 @@ const baseUrl = '/'; // #ifndef H5 //服务器域名 小程序 或者 app 时 后端地址 -const baseUrl = 'http://127.0.0.1:8008/'; +const baseUrl = 'http://demo.homecommunity.cn/'; // #endif let commonBaseUrl = 'http://demo.homecommunity.cn/'; diff --git a/manifest.json b/manifest.json index b451983..f36d338 100644 --- a/manifest.json +++ b/manifest.json @@ -80,12 +80,12 @@ "disableHostCheck" : true, "proxy" : { "/app" : { - "target" : "http://127.0.0.1:8008/", //目标接口域名 + "target" : "http://demo.homecommunity.cn/", //目标接口域名 "changeOrigin" : true, //是否跨域 "secure" : true // 设置支持https协议的代理 }, "/callComponent" : { - "target" : "http://127.0.0.1:8008/", //目标接口域名 + "target" : "http://demo.homecommunity.cn/", //目标接口域名 "changeOrigin" : true, //是否跨域 "secure" : true // 设置支持https协议的代理 } diff --git a/pages/index/index.vue b/pages/index/index.vue index d50230a..3adcef7 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -110,10 +110,7 @@ * 页面上拉触底事件的处理函数 */ onReachBottom: function() { - if (this.notices.length >= this.page * this.row) { - this.page = this.page + 1; - this._loadActivites(); - } + }, methods: { judgeBindOwnerFun: function() {