forked from github/dataease
style: 样式修改
This commit is contained in:
parent
f29b660819
commit
b011aaab98
@ -4,7 +4,7 @@
|
||||
<div
|
||||
id="canvasInfoTemp"
|
||||
ref="canvasInfoTemp"
|
||||
:style="[{height:mainHeight},screenShotStyle]"
|
||||
:style="[canvasInfoTempStyle,screenShotStyle]"
|
||||
class="main-class"
|
||||
@mouseup="deselectCurComponent"
|
||||
@mousedown="handleMouseDown"
|
||||
@ -144,6 +144,19 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
canvasInfoTempStyle() {
|
||||
if (this.screenShot) {
|
||||
return {
|
||||
width: '100%',
|
||||
height: this.mainHeight
|
||||
}
|
||||
} else {
|
||||
return {
|
||||
width: '100%',
|
||||
height: '100%'
|
||||
}
|
||||
}
|
||||
},
|
||||
customStyle() {
|
||||
let style = {
|
||||
width: '100%'
|
||||
|
Loading…
Reference in New Issue
Block a user