refactor(视图): 优化边框样式,防止组件预览页面显示双框 #4813

This commit is contained in:
wangjiahao 2023-03-20 11:34:57 +08:00
parent 76fdca3cd5
commit e43936fd33

View File

@ -1,7 +1,7 @@
<template>
<div
:style="getOutStyleDefault(config.style)"
class="component"
class="component component-outer"
@click="handleClick"
@mousedown="elementMouseDown"
>
@ -345,8 +345,7 @@ export default {
.component {
position: absolute;
}
.component:hover {
.component-outer:hover {
box-shadow: 0px 0px 3px #0a7be0;
}