code: function ModalFactory (options) {
    const Modal = Vue.extend(modalComponent)
    options.dismissOnPageChange = false
    options.recordInHistory = false
    options.scrollControl = false
    return new Modal({
      el: getInsertPosition('modalPortal').appendChild(
        document.createElement('div')
      ),
      propsData: options
    })
  }
docs: 获取实例
  @private