From 8da6b3f5c6b8e9bd340fcad867ccd7c64d04a420 Mon Sep 17 00:00:00 2001 From: pissang Date: Wed, 7 Apr 2021 16:32:11 +0800 Subject: [PATCH] fix: not using global z in graphic component --- src/component/graphic/install.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/component/graphic/install.ts b/src/component/graphic/install.ts index 3af6047d1..bda54f396 100644 --- a/src/component/graphic/install.ts +++ b/src/component/graphic/install.ts @@ -270,6 +270,8 @@ class GraphicComponentModel extends ComponentModel { static type = 'graphic'; type = GraphicComponentModel.type; + preventAutoZ = true; + static defaultOption: GraphicComponentOption = { elements: [] // parentId: null -- GitLab