画布组件卸载清理资源
This commit is contained in:
@@ -2303,9 +2303,9 @@ export class LayerManager {
|
||||
*/
|
||||
dispose() {
|
||||
// 清空画布
|
||||
if (this.canvas) {
|
||||
this.canvas.clear();
|
||||
}
|
||||
// if (this.canvas) {
|
||||
// this.canvas.clear();
|
||||
// }
|
||||
|
||||
// 清空图层数据
|
||||
if (this.layers && this.layers.value) {
|
||||
|
||||
Reference in New Issue
Block a user