code: function getRelation(ele, mousePos) {
          var elePos = domUtils.getXY(ele);
  
          if( !elePos ) {
              return '';
          }
  
          if (elePos.x + ele.offsetWidth - mousePos.x < cellBorderWidth) {
              return "h";
          }
          if (mousePos.x - elePos.x < cellBorderWidth) {
              return 'h1'
          }
          if (elePos.y + ele.offsetHeight - mousePos.y < cellBorderWidth) {
              return "v";
          }
          if (mousePos.y - elePos.y < cellBorderWidth) {
              return 'v1'
          }
          return '';
      }
docs: 获取鼠标与当前单元格的相对位置
  @param ele
  @param mousePos