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() {