setRef(ref) {
      if (ref) {
        if (ref._reactInternalInstance && ref.vm === undefined) {
          this._ref = ref._ref || ref
        } else {
          this._ref = ref.vm || ref
        }
      }
    }
for vue, every component should have a ref to represent node element