zhengyiming
20 小时以前 55119aeab85c9dc310ab8bc3de3091a20fa9a684
1
2
3
4
5
6
7
8
9
10
//@ts-nocheck
import { HistoryPlugin } from '@muaitu/fabric-editor-core';
 
export class MyHistoryPlugin extends HistoryPlugin {
  _init() {
    this.canvas.on('history:append', () => {
      this.historyUpdate();
    });
  }
}