fix:项目不分页数据访问统一设置pageSize为-1

This commit is contained in:
wangwenrui
2020-04-15 19:40:09 +08:00
parent d342d7a782
commit cf083ea965
11 changed files with 28 additions and 25 deletions

View File

@@ -158,7 +158,7 @@
</el-form-item>
</el-form>
</el-scrollbar>
<!-- end--表单-->
<!--底部按钮-->
@@ -280,7 +280,7 @@
/*获取project列表*/
getProjectList() {
this.$get('project', {pageSize: 999, pageNo: 1}).then(response => {
this.$get('project', {pageSize: -1, pageNo: 1}).then(response => {
if (response.code === 200) {
this.projectList = response.data.list;
if ((!this.currentProject || !this.currentProject.id) && this.projectList.length > 0) {