From 76216db82c19319d744cd7b94ffbb3985446841b Mon Sep 17 00:00:00 2001 From: "Xc@centOs" Date: Fri, 15 Sep 2023 12:32:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E5=81=87=E8=AE=BE=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E4=B8=80=E5=AE=9A=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/AppLoader.js | 2 -- src/AppLoader.ts | 3 --- 2 files changed, 5 deletions(-) diff --git a/lib/AppLoader.js b/lib/AppLoader.js index b7ed56a..1e7955d 100644 --- a/lib/AppLoader.js +++ b/lib/AppLoader.js @@ -100,8 +100,6 @@ class AppLoader extends types_1.AppLoader { // 注入在提交前向dataSubscribe const originCommit = context.commit; context.commit = async () => { - const { opRecords } = context; - const userId = context.getCurrentUserId(); await originCommit.call(context); }; return context; diff --git a/src/AppLoader.ts b/src/AppLoader.ts index 73eb47c..c260e9c 100644 --- a/src/AppLoader.ts +++ b/src/AppLoader.ts @@ -125,9 +125,6 @@ export class AppLoader { - const { opRecords } = context; - const userId = context.getCurrentUserId(); - await originCommit.call(context); };