Browse Source

Merge branch 'http_test' into insist

qinzhipeng_v@didiglobal.com 4 years ago
parent
commit
353bccb5dd

+ 4 - 1
src/components/click/overClick.vue

@@ -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>
   </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;

+ 2 - 2
src/views/workbench/components/statisticsSection.vue

@@ -123,8 +123,8 @@ export default {
       handler(newV) {
         this.clickItem = 0
         this.initData()
-      },
-      immediate: true
+      }
+      // immediate: true
     }
   },
   methods: {