qinzhipeng_v 5 年之前
父節點
當前提交
c4e0060b12
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/projectManage/requirement/list/create.vue

+ 2 - 1
src/views/projectManage/requirement/list/create.vue

@@ -177,9 +177,10 @@ export default {
       if (newVisible) {
         if (this.title === '编辑需求') {
           this.form = JSON.parse(JSON.stringify(this.data))
+          console.log(this.form.pm, 'csdaac')
           this.form.pm = this.form.pm[0].idap
-          this.form.modifier = localStorage.getItem('username')
           this.init()
+          this.form.modifier = localStorage.getItem('username')
         } else if (this.title === '新建需求' && this.data) {
           this.form = JSON.parse(JSON.stringify(this.data))
         }