| 
														
															@@ -26,6 +26,8 @@ import { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import Report from "@/log-center/log" 
														 | 
														
														 | 
														
															 import Report from "@/log-center/log" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import { PingPong, httpNetWork } from "@/logic/background/help"; 
														 | 
														
														 | 
														
															 import { PingPong, httpNetWork } from "@/logic/background/help"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import { commonFetch } from '@/http/fetch' 
														 | 
														
														 | 
														
															 import { commonFetch } from '@/http/fetch' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import { appVersionCode } from '@/http/configAPI.js' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import { getChromeStorage, setChromeStorage } from '@/uilts/chromeExtension.js' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import { 
														 | 
														
														 | 
														
															 import { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     facebookShareSuccess 
														 | 
														
														 | 
														
															     facebookShareSuccess 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -75,6 +77,15 @@ chrome.tabs.onActivated.addListener(function (activeInfo) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 }) 
														 | 
														
														 | 
														
															 }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 function onInstalledMethod() { 
														 | 
														
														 | 
														
															 function onInstalledMethod() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    // 版本更新判断 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    getChromeStorage('baseInfo', (info) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        if (!info || !info.appVersionCode || appVersionCode != info.appVersionCode) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            setChromeStorage({ baseInfo: JSON.stringify({ appVersionCode }) }, () => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                chrome.runtime.reload() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     onInstalledCreateTab() 
														 | 
														
														 | 
														
															     onInstalledCreateTab() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     onInstalledMid() 
														 | 
														
														 | 
														
															     onInstalledMid() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     onInstalledUserSet() 
														 | 
														
														 | 
														
															     onInstalledUserSet() 
														 |