wupengfei
15 小时以前 8fa20fed4bf1a8146ceb1646157b8802b553e570
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();
    });
  }
}