|  | @@ -873,21 +873,20 @@ const doTaskReport = (req, sender) => {
 | 
											
												
													
														|  |      case 'follow':
 |  |      case 'follow':
 | 
											
												
													
														|  |        event_type = 1
 |  |        event_type = 1
 | 
											
												
													
														|  |        chrome.tabs.remove(sender.tab.id)
 |  |        chrome.tabs.remove(sender.tab.id)
 | 
											
												
													
														|  | -      for (let i = 0; i < follow_open_tabs.length; i++) {
 |  | 
 | 
											
												
													
														|  | -        if (follow_open_tabs[i].id == sender.tab.id) {
 |  | 
 | 
											
												
													
														|  | -          follow_open_tabs.splice(i, 1)
 |  | 
 | 
											
												
													
														|  | -          break
 |  | 
 | 
											
												
													
														|  | -        }
 |  | 
 | 
											
												
													
														|  | -      }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -      chrome.tabs.getCurrent((tab) => {
 |  | 
 | 
											
												
													
														|  | -        if (follow_open_tabs.length > 0) {
 |  | 
 | 
											
												
													
														|  | -          tab_index = follow_open_tabs[follow_open_tabs.length - 1].index
 |  | 
 | 
											
												
													
														|  | -        } else {
 |  | 
 | 
											
												
													
														|  | -          tab_index = tab.index
 |  | 
 | 
											
												
													
														|  | -        }
 |  | 
 | 
											
												
													
														|  | -        chrome.tabs.highlight({ windowId: tab.windowId, tabs: tab_index })
 |  | 
 | 
											
												
													
														|  | -      })
 |  | 
 | 
											
												
													
														|  | 
 |  | +      // for (let i = 0; i < follow_open_tabs.length; i++) {
 | 
											
												
													
														|  | 
 |  | +      //   if (follow_open_tabs[i].id == sender.tab.id) {
 | 
											
												
													
														|  | 
 |  | +      //     follow_open_tabs.splice(i, 1)
 | 
											
												
													
														|  | 
 |  | +      //     break
 | 
											
												
													
														|  | 
 |  | +      //   }
 | 
											
												
													
														|  | 
 |  | +      // }
 | 
											
												
													
														|  | 
 |  | +      // chrome.tabs.getCurrent((tab) => {
 | 
											
												
													
														|  | 
 |  | +      //   if (follow_open_tabs.length > 0) {
 | 
											
												
													
														|  | 
 |  | +      //     tab_index = follow_open_tabs[follow_open_tabs.length - 1].index
 | 
											
												
													
														|  | 
 |  | +      //   } else {
 | 
											
												
													
														|  | 
 |  | +      //     tab_index = tab.index
 | 
											
												
													
														|  | 
 |  | +      //   }
 | 
											
												
													
														|  | 
 |  | +      //   chrome.tabs.highlight({ windowId: tab.windowId, tabs: tab_index })
 | 
											
												
													
														|  | 
 |  | +      // })
 | 
											
												
													
														|  |        let has_no_finished = false
 |  |        let has_no_finished = false
 | 
											
												
													
														|  |        state.detail.taskCondition[0].relatedUsers.forEach((item) => {
 |  |        state.detail.taskCondition[0].relatedUsers.forEach((item) => {
 | 
											
												
													
														|  |          if (follow_name == item.name) {
 |  |          if (follow_name == item.name) {
 |