|
|
@@ -103,6 +103,12 @@ export async function addBrowseLog(
|
|
|
from: AppRouteRecordRaw | RouteLocationNormalized,
|
|
|
ignorePaths: string[]
|
|
|
): Promise<void> {
|
|
|
+ const currentPort = window.location.port;
|
|
|
+
|
|
|
+ if (currentPort === '8062') {
|
|
|
+ return Promise.resolve();
|
|
|
+ }
|
|
|
+
|
|
|
// 在尝试添加浏览器记录时,应该先发出一个结束上次记录的请求(如有)再发出一个开发此次记录的请求
|
|
|
const url = '/sys/log/addBrowseLog';
|
|
|
|