Browse Source

dataV源码修改位置及方法

wangcc 2 years ago
parent
commit
630682c420
1 changed files with 5 additions and 0 deletions
  1. 5 0
      README.md

+ 5 - 0
README.md

@@ -4,6 +4,11 @@
 
 ## Build Setup
 
+# dataV鼠标移入移出
+修改 @jiaminghi 源码  文件位置 @jiaminghi => data-view => lib => components => scrollBoard => main.vue 
+handleHover() 方法 在鼠标移出事件中将 @mouseleave="handleHover(false)" 修改为 @mouseleave="handleHover(false, ri, ci, row, ceil)" 
+methods中 handleHover()添加 if (!enter) emitEvent('mouseout', ri, ci, row, ceil)
+
 ``` bash
 # install dependencies
 npm install