code: function elementOwnDetach() {
      var lifeCycle = this.lifeCycle;
      if (lifeCycle.leaving) {
          return;
      }
  
      if (!this.disposeNoTransition) {
          var transition = elementGetTransition(this);
  
          if (transition && transition.leave) {
              if (this._toPhase) {
                  this._toPhase('leaving');
              }
              else {
                  this.lifeCycle = LifeCycle.leaving;
              }
  
              var me = this;
              transition.leave(this.el, function () {
                  me._leave();
              });
  
              return;
          }
      }
  
      this._leave();
  }
docs: 将元素从页面上移除