Commit bbd4ab8e10737080af77c69b0b6416373c5e2c33
1 parent
5f737f81
feat(shape): add outline for active element
Showing
1 changed file
with
1 additions
and
0 deletions
front-end/h5/src/components/core/support/shape.js
| @@ -145,6 +145,7 @@ export default { | @@ -145,6 +145,7 @@ export default { | ||
| 145 | <div | 145 | <div |
| 146 | onClick={this.handleWrapperClick} | 146 | onClick={this.handleWrapperClick} |
| 147 | onMousedown={this.handleMousedown} | 147 | onMousedown={this.handleMousedown} |
| 148 | + style={{ outline: this.active ? '1px dashed #bcbcbc' : '' }} | ||
| 148 | > | 149 | > |
| 149 | { | 150 | { |
| 150 | this.active && | 151 | this.active && |