mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-31 21:00:53 +08:00 
			
		
		
		
	新增:新增百度统计代码,并将 favicon.ico 更换为 128x128 尺寸的图标
This commit is contained in:
		| @@ -3,11 +3,29 @@ | ||||
|   <head> | ||||
|     <meta charset="UTF-8" /> | ||||
|     <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | ||||
|     <title>ContiNew Admin - 持续以最新流行技术栈构建的中后台管理框架</title> | ||||
|   </head> | ||||
|   <body> | ||||
|     <div id="app"></div> | ||||
|     <script type="module" src="/src/main.ts"></script> | ||||
|  | ||||
|     <script> | ||||
|       /* 百度统计代码 */ | ||||
|       var _hmt = _hmt || []; | ||||
|       (function() { | ||||
|         var hm = document.createElement("script"); | ||||
|         hm.src = "https://hm.baidu.com/hm.js?b0d02b5db5f47cd1ecb885dd33781f21"; | ||||
|         var s = document.getElementsByTagName("script")[0]; | ||||
|         s.parentNode.insertBefore(hm, s); | ||||
|  | ||||
|         /* 百度统计 => 规则设置 => 单页设置 => 启用单页应用数据统计 */ | ||||
|         _hmt.push(['_requirePlugin', 'UrlChangeTracker', { | ||||
|           shouldTrackUrlChange: function (newPath, oldPath) { | ||||
|             return newPath && oldPath; | ||||
|           }} | ||||
|         ]); | ||||
|       })(); | ||||
|     </script> | ||||
|   </body> | ||||
| </html> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user