qinzhipeng_v пре 5 година
родитељ
комит
fa7ccb8ef5
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      src/views/projectManage/dialog_vue.vue

+ 2 - 1
src/views/projectManage/dialog_vue.vue

@@ -177,6 +177,7 @@ export default {
           this.projectId = url.split('?id=')
           projectList({ id: Number(this.projectId[1]), curIndex: 1, pageSize: 15 }).then(res => {
             this.dialogFormVisible = true
+            console.log(res.data[0].id, 'ddsdssdssdds')
             var that = this
             setTimeout(function() {
               that.task_form = {}
@@ -245,7 +246,7 @@ export default {
           })
           break
       }
-      projectList({ }).then(res => { // 获取项目(查询)
+      projectList({ curIndex: 1, pageSize: 50 }).then(res => { // 获取项目(查询)
         this.projectList = res.data
       })
       configShowRequirementVersionEnum('').then(res => {