@@ -8,12 +8,12 @@
class="over-context"
@mouseover="hide(false)"
@mouseleave="hide(true)"
+ @click="handleClick()"
>
<slot name="overMouse" />
<i
class="el-icon-edit"
:class="{'hide-edit': hideEdit}"
- @click="handleClick()"
/>
</div>
@@ -74,6 +74,9 @@ export default {
}
</script>
<style lang="scss" scoped>
+.over-context:hover{
+ color: #409EFF;
+}
.el-icon-edit {
cursor: pointer;
margin-left: 5px;
@@ -123,8 +123,8 @@ export default {
handler(newV) {
this.clickItem = 0
this.initData()
- },
- immediate: true
+ }
+ // immediate: true
},
methods: {