(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2124a8fb"],{"1ab1":function(t,e,n){"use strict";n.r(e);var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return null!=t.coms&&t.coms.length>0&&t.size>0?n("div",{staticClass:"com-directory"},[n("el-form",{staticClass:"dirceForm"},[t._l(t.coms,(function(e,s){return[t._l(e.attrs,(function(e,i){return["Directory"==e.type?n("el-form-item",{key:"item-"+s+"-"+i,attrs:{label:e.id+":"}},[n("el-input",{attrs:{type:"textarea"},model:{value:e.content,callback:function(n){t.$set(e,"content",n)},expression:"item.content"}})],1):t._e()]}))]}))],2),n("div",{staticClass:"com-title"},[t._v("目录信息")]),n("div",{staticClass:"com-items"},[t._l(t.coms,(function(e,s){return[t._l(e.attrs,(function(e,i){return["Directory"==e.type?n("div",{key:"item-"+s+"-"+i,staticClass:"com-item"},[n("div",{staticClass:"icon"},[n("svg-icon",{attrs:{"icon-class":"directory"}})],1),n("div",{staticClass:"name"},[t._v(" "+t._s(""!=e.content?e.content:e.name)+" ")])]):t._e()]}))]}))],2)],1):t._e()},i=[],c={props:{coms:{type:Array,default:null}},watch:{coms:{handler:function(t){if(console.log(t),null!=t){this.size=0;for(var e=0;e<t.length;e++)for(var n=0;n<t[e].attrs.length;n++)"Directory"==t[e].attrs[n].type&&this.size++}},immediate:!0,deep:!0}},data:function(){return{size:0}}},o=c,r=(n("be30"),n("2877")),a=Object(r["a"])(o,s,i,!1,null,null,null);e["default"]=a.exports},be30:function(t,e,n){"use strict";n("ffd5")},ffd5:function(t,e,n){}}]);