wupengfei
22 小时以前 c9a84fe7206bc5fd77c2267427f7696dca1d197d
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();
    });
  }
}