Commit 344b4872 authored by Jenny's avatar Jenny

Merge branch 'develop' of 106.15.103.105:lihuizhen/ec-report-refactor into develop

parents 0e3617fd fb371d67
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
brushType: 'stroke' brushType: 'stroke'
}, },
label: { label: {
show: true, show: this.elementInfo.option.dataset.show,
position: 'right', position: 'right',
formatter: (value) => { formatter: (value) => {
if(this.elementInfo.option.dataset.formatter) { if(this.elementInfo.option.dataset.formatter) {
......
...@@ -15,7 +15,8 @@ ...@@ -15,7 +15,8 @@
:style="{ :style="{
width: `${element.width * scale}px`, width: `${element.width * scale}px`,
height: `${element.height * scale}px`, height: `${element.height * scale}px`,
transform: `translate(${element.left * scale}px, ${element.top * scale}px)`, left: `${element.left * scale}px`,
top: `${element.top * scale}px`,
zIndex: index + 1 zIndex: index + 1
}" }"
> >
...@@ -222,11 +223,6 @@ ...@@ -222,11 +223,6 @@
} }
.view-element { .view-element {
position: absolute; position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
will-change: transform;
user-select: none; user-select: none;
cursor: move; cursor: move;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment