Commit 056a0afd authored by 晓彤's avatar 晓彤

修改接口列表模块下拉框只显示10个的问题

parent d2028b1f
......@@ -58,6 +58,12 @@ export default {
moduleId: '',
interfaceName: ''
},
queryModuleList: {
pageNum: 1,
pageSize: 100,
projectId: '',
moduleId: ''
},
totalNum: 0,
projectList: [],
modelList: [],
......@@ -90,13 +96,16 @@ export default {
// 下来框选中改变事件
selectChange() {
this.queryModuleList.projectId = this.selectProjectId
this.queryModuleInfo.projectId = this.selectProjectId
getModulList(this.queryModuleInfo).then((resp) => {
getModulList(this.queryModuleList).then((resp) => {
this.modelList = resp.data.data.list
console.log(this.modelList, '9999')
})
},
// 模块下拉框改变事件
selectChangeModel() {
this.queryModuleList.moduleId = this.selectModelId
this.queryModuleInfo.moduleId = this.selectModelId
},
// 查询方法
......@@ -117,6 +126,7 @@ export default {
interfaceDetailList(this.queryModuleInfo).then((resp) => {
this.interfaceList = resp.data.data.list
this.totalNum = resp.data.data.total
console.log(this.interfaceList, '列表信息')
})
},
handleSizeChange(newSize) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment