commit时将message清零
This commit is contained in:
parent
96a8576749
commit
5b3bf17ace
|
|
@ -123,6 +123,7 @@ class AsyncContext {
|
|||
this.resetEvents();
|
||||
this.opRecords = [];
|
||||
this.opResult = {};
|
||||
this.message = '';
|
||||
for (const e of commitEvents) {
|
||||
await e();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -140,6 +140,7 @@ export abstract class AsyncContext<ED extends EntityDict> implements Context {
|
|||
this.resetEvents();
|
||||
this.opRecords = [];
|
||||
this.opResult = {};
|
||||
this.message = '';
|
||||
for (const e of commitEvents) {
|
||||
await e();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue