code: function getTemplateConfig(pageId, attr) {
    const dom = getTemplateDOMById.call(this, pageId);
    let config = dom.getAttribute(attr);
    if ((attr === "ct-data-mode") && !config) {
      config = "standard";
    }
    return config;
  }
docs: 获取模板的属性
  @access private
  @param {string} pageId
  @param {string} attr
  @return {Object}