提交代码
This commit is contained in:
		
							parent
							
								
									da8434ff94
								
							
						
					
					
						commit
						e985424ad6
					
				| 
						 | 
					@ -241,14 +241,14 @@ export default {
 | 
				
			||||||
            let reviewers = [];
 | 
					            let reviewers = [];
 | 
				
			||||||
            this.tableData.forEach((item) => {
 | 
					            this.tableData.forEach((item) => {
 | 
				
			||||||
              if (item.type === '0') {
 | 
					              if (item.type === '0') {
 | 
				
			||||||
                reviewers.push(item);
 | 
					                reviewers.push(item.id);
 | 
				
			||||||
              }
 | 
					              }
 | 
				
			||||||
              if (item.type === '1') {
 | 
					              if (item.type === '1') {
 | 
				
			||||||
                annotators.push(item);
 | 
					                annotators.push(item.id);
 | 
				
			||||||
              }
 | 
					              }
 | 
				
			||||||
            })
 | 
					            })
 | 
				
			||||||
            this.form.annotators = annotators;
 | 
					            this.form.annotators = annotators;
 | 
				
			||||||
            this.form.reviewers = annotators;
 | 
					            this.form.reviewers = reviewers;
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
          add(this.form).then(response => {
 | 
					          add(this.form).then(response => {
 | 
				
			||||||
            this.$modal.msgSuccess('发布成功')
 | 
					            this.$modal.msgSuccess('发布成功')
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue