正在显示
3 个修改的文件
包含
11 行增加
和
12 行删除
| ... | ... | @@ -5,13 +5,13 @@ module.exports = (vm) => { |
| 5 | 5 | /* config 为默认全局配置*/ |
| 6 | 6 | |
| 7 | 7 | // 测试环境 |
| 8 | - config.baseURL = "http://47.110.250.177:8000"; | |
| 8 | + // config.baseURL = "http://47.110.250.177:8000"; | |
| 9 | 9 | |
| 10 | 10 | // 预生产环境 |
| 11 | 11 | // config.baseURL = "https://api-isxpre.workai.com.cn"; |
| 12 | 12 | |
| 13 | 13 | // 线上环境 |
| 14 | - // config.baseURL = "https://api-isx.workai.com.cn"; | |
| 14 | + config.baseURL = "https://api-isx.workai.com.cn"; | |
| 15 | 15 | |
| 16 | 16 | config.header = { |
| 17 | 17 | // 'content-type': 'xxx' | ... | ... |
| ... | ... | @@ -79,18 +79,17 @@ |
| 79 | 79 | }, |
| 80 | 80 | |
| 81 | 81 | onLoad() { |
| 82 | - | |
| 82 | + // this.search.keySearch = ''; | |
| 83 | + // this.finished = false; | |
| 84 | + // this.loading = "loadmore"; | |
| 85 | + // this.page = 0; | |
| 86 | + // this.list = []; | |
| 87 | + this._getList(); | |
| 83 | 88 | }, |
| 84 | 89 | |
| 85 | 90 | onShow() { |
| 86 | 91 | if (this.hasLogin) { |
| 87 | - this.search.keySearch = ''; | |
| 88 | - | |
| 89 | - this.finished = false; | |
| 90 | - this.loading = "loadmore"; | |
| 91 | - this.page = 0; | |
| 92 | - this.list = []; | |
| 93 | - this._getList(); | |
| 92 | + | |
| 94 | 93 | } |
| 95 | 94 | }, |
| 96 | 95 | |
| ... | ... | @@ -142,7 +141,7 @@ |
| 142 | 141 | |
| 143 | 142 | let params = {}; |
| 144 | 143 | params.pageNumber = requestParams.page + 1; |
| 145 | - params.pageSize = 5; | |
| 144 | + params.pageSize = 10; | |
| 146 | 145 | |
| 147 | 146 | if (this.keyword) { |
| 148 | 147 | params.keySearch = this.keyword | ... | ... |
请
注册
或
登录
后发表评论