diff --git a/config.js b/config.js index be10eb6..b836488 100644 --- a/config.js +++ b/config.js @@ -2,11 +2,11 @@ * 小程序配置文件 */ // 此处主机域名修改成腾讯云解决方案分配的域名 -var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 +// var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 // var host = 'http://192.168.31.163:8080/autoSR/api'; // 长龙 // var host = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪 // var host = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 -// var host = 'https://zkgj.quhouse.com/api'; // 质控正式 +var host = 'https://zkgj.quhouse.com/api'; // 质控正式 // var host = 'https://hfju.com/api'; // 数智正式 diff --git a/pages/center/consumer/consumerSearch.vue b/pages/center/consumer/consumerSearch.vue index 14241ca..3d6188c 100644 --- a/pages/center/consumer/consumerSearch.vue +++ b/pages/center/consumer/consumerSearch.vue @@ -57,6 +57,8 @@ }, onShow() { this.buildingID = uni.getStorageSync('buildingID').id; + this.nextPage=1; + this.recordList=[]; }, onReachBottom() { if(this.totalRecord==this.nextPage){ diff --git a/pages/center/consumer/index.vue b/pages/center/consumer/index.vue index d993612..a10629e 100644 --- a/pages/center/consumer/index.vue +++ b/pages/center/consumer/index.vue @@ -186,6 +186,7 @@ }, onShow() { this.buildingID = uni.getStorageSync('buildingID').id; + this.nextPage=1; this.recordList=[] this.getMyCustom() this.getFreeList() diff --git a/pages/center/records/index.vue b/pages/center/records/index.vue index b634607..9263a0f 100644 --- a/pages/center/records/index.vue +++ b/pages/center/records/index.vue @@ -174,6 +174,7 @@ onShow() { this.buildingID = uni.getStorageSync('buildingID').id; this.recordList=[]; + this.nextPage=1; this.getMyCustom() this.getFreeList(); }, diff --git a/pages/center/records/recordSearch.vue b/pages/center/records/recordSearch.vue index 24d06f2..406392f 100644 --- a/pages/center/records/recordSearch.vue +++ b/pages/center/records/recordSearch.vue @@ -48,6 +48,8 @@ }, onShow() { this.buildingID = uni.getStorageSync('buildingID').id; + this.nextPage=1; + this.recordList=[]; }, onReachBottom() { if(this.totalRecord==this.nextPage){ diff --git a/pages/learning/Keywordsearch.vue b/pages/learning/Keywordsearch.vue index 3119371..45c12df 100644 --- a/pages/learning/Keywordsearch.vue +++ b/pages/learning/Keywordsearch.vue @@ -131,7 +131,6 @@ } }) }, - }, } diff --git a/utils/http.js b/utils/http.js index cf5c4a8..7c01a26 100644 --- a/utils/http.js +++ b/utils/http.js @@ -1,11 +1,12 @@ -const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 +// const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 // const baseUrl = 'http://192.168.31.161:8080/autoSR/api'; // 长龙 // const baseUrl = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪 // const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 -// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 +const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 // const baseUrl = 'https://hfju.com/api'; // 数智正式 + const install = (Vue, vm) => { Vue.prototype.$u.http.setConfig({ baseUrl,