zhengyiming
13 小时以前 97f29024ce18babeb4b635c5d73f907ac493976e
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();
    });
  }
}