Commit 54d0f5fe authored by rockyl's avatar rockyl

修复遮罩嵌套问题

修改滚动方向
parent 9891a91a
...@@ -47,13 +47,13 @@ export default { ...@@ -47,13 +47,13 @@ export default {
title: '水平偏移', title: '水平偏移',
type: 'inputNumber', type: 'inputNumber',
value: undefined, value: undefined,
desc: '相对于父元素中心点的水平偏移,0为正中心' //desc: '相对于父元素中心点的水平偏移,0为正中心'
}, },
verticalCenter: { verticalCenter: {
title: '垂直偏移', title: '垂直偏移',
type: 'inputNumber', type: 'inputNumber',
value: undefined, value: undefined,
desc: '相对于父元素中心点的垂直偏移,0为正中心' //desc: '相对于父元素中心点的垂直偏移,0为正中心'
}, },
rotation: { rotation: {
title: '旋转', title: '旋转',
......
...@@ -47,9 +47,8 @@ ...@@ -47,9 +47,8 @@
}, },
onSave(isPreview) { onSave(isPreview) {
this.behavior_save(); this.behavior_save();
if(isPreview){
this.$emit('change', isPreview); this.$emit('change', isPreview);
}else{ if(!isPreview){
this.visible = false; this.visible = false;
} }
}, },
......
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