(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-57325c88"],{"410d":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container2"},[n("el-backtop"),t._v(" "),n("el-container",[n("el-header",[n("el-menu",{attrs:{"default-active":t.activeIndex,mode:"horizontal","background-color":"#545c64","text-color":"#fff","active-text-color":"#ffd04b"}},[n("el-menu-item",{attrs:{index:"1"}},[t._v("文档中心")])],1)],1),t._v(" "),n("el-container",[n("el-aside",{attrs:{width:"200px"}},[n("el-menu",{attrs:{"default-openeds":t.openMenu,"default-active":t.defaultActive},on:{select:t.onMenuClick}},t._l(t.menus,(function(e){return n("el-submenu",{key:e.path,attrs:{index:e.title}},[n("template",{slot:"title"},[n("i",{class:e.icon}),t._v(" "),n("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(e.title))])]),t._v(" "),t._l(e.children,(function(e){return n("el-menu-item",{key:e.path,attrs:{index:e.path}},[t._v(t._s(e.title))])}))],2)})),1)],1),t._v(" "),n("el-main",[n("mavon-editor",{attrs:{boxShadow:!1,subfield:!1,defaultOpen:"preview",editable:!1,toolbarsFlag:!1},model:{value:t.content,callback:function(e){t.content=e},expression:"content"}})],1)],1)],1)],1)},o=[],i=(n("aef6"),n("ac6a"),n("b2d8")),c=(n("64e1"),{components:{mavonEditor:i["mavonEditor"]},data:function(){return{defaultActive:"",docId:"",menus:[],openMenu:[],content:"欢迎来到文档中心",activeIndex:"1"}},created:function(){this.docId=this.$route.query.id,this.loadMenu()},methods:{loadMenu:function(){var t=this,e=null;this.getFile("static/doc/isv/menu.json",(function(n){t.menus=n,n.forEach((function(n){if(t.openMenu.push(n.title),t.docId)for(var a=n.children||[],o=0;o<a.length;o++){var i=a[o];if(i.path&&i.path.endsWith("".concat(t.docId,".md"))){e=i,t.defaultActive=i.path;break}}})),e&&t.loadMarkdown(e.path)}))},onHeaderMenuSelect:function(t){},onMenuClick:function(t,e){this.loadMarkdown(t)},loadMarkdown:function(t){var e=this;this.getFile("".concat(t,"?q=").concat((new Date).getTime()),(function(t){e.content=t}))}}}),r=c,l=(n("9837"),n("2877")),u=Object(l["a"])(r,a,o,!1,null,"c8e58128",null);e["default"]=u.exports},5147:function(t,e,n){var a=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[a]=!1,!"/./"[t](e)}catch(o){}}return!0}},"5da9":function(t,e,n){},9837:function(t,e,n){"use strict";n("5da9")},aae3:function(t,e,n){var a=n("d3f4"),o=n("2d95"),i=n("2b4c")("match");t.exports=function(t){var e;return a(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},aef6:function(t,e,n){"use strict";var a=n("5ca1"),o=n("9def"),i=n("d2c8"),c="endsWith",r=""[c];a(a.P+a.F*n("5147")(c),"String",{endsWith:function(t){var e=i(this,t,c),n=arguments.length>1?arguments[1]:void 0,a=o(e.length),l=void 0===n?a:Math.min(o(n),a),u=String(t);return r?r.call(e,u,l):e.slice(l-u.length,l)===u}})},d2c8:function(t,e,n){var a=n("aae3"),o=n("be13");t.exports=function(t,e,n){if(a(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}}}]);