code: function removeClass (dom, className) {
    /* istanbul ignore if */
    if (!dom) {
      return
    }
    let curClassName = dom.className
    dom.className = curClassName.replace(className, '').replace(/(^\s*)|(\s*$)/g, '')
  }
docs: 移出class