wupengfei
7 天以前 e5c36e9cccb9aae08b58eaed3f7b906279a2d6b5
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();
    });
  }
}