Commit 2b7b390c authored by 张晨辰's avatar 张晨辰

feat: editor border

parent af87c93e
...@@ -160,7 +160,7 @@ export default { ...@@ -160,7 +160,7 @@ export default {
return styles.getComponentStyle(this.componentData, this.project, this.componentList); return styles.getComponentStyle(this.componentData, this.project, this.componentList);
}, },
position() { position() {
let _props = this.componentData.properties; let _props = this.componentData.properties || {};
const _node = properties.node; const _node = properties.node;
console.log('********', _props); console.log('********', _props);
let result = { let result = {
...@@ -199,13 +199,13 @@ export default { ...@@ -199,13 +199,13 @@ export default {
<style> <style>
.vdr { .vdr {
box-sizing: content-box; box-sizing: content-box;
border: 1px solid transparent; /* border: 1px solid transparent; */
} }
.vdr.active { .vdr.active {
border-color: transparent; border-color: transparent;
} }
.vdr.choosed-cmp { .vdr.choosed-cmp {
border-color: rgba(157, 172, 255, 0.9); border: 1px solid rgba(157, 172, 255, 0.9);
cursor: move; cursor: move;
} }
.vdr.isTyping { .vdr.isTyping {
......
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