code: function newInstance({Class, id, pageId}) {
    const typeofName = (typeof Class).toLowerCase();
  
    const ctDataMode = getTemplateConfig.call(this, pageId, "ct-data-mode");
  
    let Constructor;
  
    /***
     * 如果Class可以实例化
     */
    if (typeofName === "function") {
      Constructor = Class;
    }
    /***
     * 如果Class不可以实例化则用缺省的Page进行实例化
     */
    else if (typeofName === "undefined") {
      Constructor = Page;
    }
  
    if (!Constructor) {
      throw "页面管理类无法初始化";
      return false;
    }
  
    /***
     * 如果是singleInstance 或 singleInstanceResult
     */
    if (ctDataMode.toLowerCase().indexOf("singleinstance") !== -1) {
      if (!this.getSingleInstance(pageId)) {
        this.singleInstances[pageId] = new Constructor(this, id);
      }
      return this.singleInstances[pageId];
    } else {
      return new Constructor(this, id);
    }
  }
docs: 创建实例
  @access private
  @param {Function} Class
  @param {string} id
  @param {string} pageId
  @return {Page}