提交代码
This commit is contained in:
		
							parent
							
								
									0183956746
								
							
						
					
					
						commit
						e78c6b04bf
					
				| 
						 | 
				
			
			@ -112,6 +112,7 @@ export default {
 | 
			
		|||
          fileId : Number(this.id)
 | 
			
		||||
      }).then(response => {
 | 
			
		||||
        this.$modal.msgSuccess('已同意标注')
 | 
			
		||||
        this.index++; // 更新索引
 | 
			
		||||
      }).catch(error => {
 | 
			
		||||
        console.log(error);
 | 
			
		||||
      });
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -170,6 +170,7 @@ export default {
 | 
			
		|||
 | 
			
		||||
    // 设置标注项,更新任务数据和标注结果
 | 
			
		||||
    setItem(item, index) {
 | 
			
		||||
      console.log(item)
 | 
			
		||||
      this.annotationResult = JSON.parse(item.annotationResult);
 | 
			
		||||
      this.itemIndex = index;
 | 
			
		||||
      this.updateTaskData(item);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue