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

feat: editor border

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