qinzhipeng_v 5 vuotta sitten
vanhempi
sitoutus
fa7ccb8ef5
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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 => {