From 429572323ba1b08cb94fafcc405ae279c06c8a0a Mon Sep 17 00:00:00 2001 From: "zheng.zhang" Date: Thu, 30 Apr 2026 13:50:37 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20=E5=B0=86=E7=94=A8=E6=88=B7=E8=BF=BD?= =?UTF-8?q?=E8=B8=AA=E4=BB=8EUserId=E6=94=B9=E4=B8=BAOaAccount?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YLErpWeb/Views/Shared/_MainLayout.cshtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/YLErpWeb/Views/Shared/_MainLayout.cshtml b/YLErpWeb/Views/Shared/_MainLayout.cshtml index 8030b453..2b58d6b6 100644 --- a/YLErpWeb/Views/Shared/_MainLayout.cshtml +++ b/YLErpWeb/Views/Shared/_MainLayout.cshtml @@ -116,8 +116,8 @@ techStack: sensorsConfig._techStack }); - if ('@CurUser?.UserId' && sensors.login) { - sensors.login('@CurUser.UserId'); + if ('@CurUser?.OaAccount' && sensors.login) { + sensors.login('@CurUser.OaAccount'); sensors.setProfile({ userId: '@CurUser.OaAccount', name: '@CurUser.UserName' }); } @@ -125,7 +125,7 @@ (function () { try { var diag = { - uid: '@CurUser?.UserId' || 'NULL', + uid: '@CurUser?.OaAccount' || 'NULL', platform: sensorsConfig._platformType || 'onederiv', ua: (navigator.userAgent || '').substring(0, 50) || 'NULL', url: location.href From d61a22222e824f2d292c28442d7c6ecf4c0cea0e Mon Sep 17 00:00:00 2001 From: "zheng.zhang" Date: Thu, 30 Apr 2026 14:18:38 +0800 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DBonree=E7=9B=91?= =?UTF-8?q?=E6=8E=A7=E8=84=9A=E6=9C=AC=E5=8A=A0=E8=BD=BD=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E5=B9=B6=E4=BC=98=E5=8C=96=E7=94=A8=E6=88=B7ID=E6=A3=80?= =?UTF-8?q?=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YLErpWeb/Views/Shared/_MainLayout.cshtml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/YLErpWeb/Views/Shared/_MainLayout.cshtml b/YLErpWeb/Views/Shared/_MainLayout.cshtml index 2b58d6b6..6e254660 100644 --- a/YLErpWeb/Views/Shared/_MainLayout.cshtml +++ b/YLErpWeb/Views/Shared/_MainLayout.cshtml @@ -18,10 +18,9 @@ @RenderSection("CSS", false) - -