(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-28c89515"],{"4d7a":function(e,t,i){"use strict";i("6363")},6363:function(e,t,i){},b710:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"width100"},[i("div",{staticClass:"width100"},[e._l(e.fileList,(function(t,n){return i("div",{key:n,staticClass:"fileItem",on:{click:function(i){return e.filePreview(t)}}},[i("div",{staticClass:"file-item-left"},["img"!==e.toSrcIcon(t.name)?i("div",{staticClass:"file"},[e._v(e._s(e.getFileTypeFn(t.name)))]):i("img",{staticClass:"img",attrs:{src:t.file_url||t.url||t.src,alt:""}})]),e._v(" "),i("div",{staticClass:"file-item-right"},[i("div",{staticClass:"file-name over-text"},[e._v(e._s(t.name))]),e._v(" "),i("div",{staticClass:"file-size"},[e._v(e._s(e.toSizeFile(t.size)))])]),e._v(" "),e.showClose?i("i",{staticClass:"file-close el-icon-error",on:{click:function(t){return t.stopPropagation(),e.fileDelete(n)}}}):e._e()])})),e._v(" "),0==e.fileList.length?i("div",[e._v("--")]):e._e()],2),e._v(" "),i("fileDialog",{ref:"viewFile"})],1)},s=[],l=i("02df"),c={name:"UploadList",props:{fileList:{type:Array,default:function(){return[]}},showClose:{type:Boolean,default:!1}},components:{fileDialog:function(){return i.e("chunk-758ec1ea").then(i.bind(null,"6cf9"))}},data:function(){return{srcList:[]}},watch:{fileList:{handler:function(e){var t=this;this.srcList=[],e.length>0&&e.forEach((function(e){Object(l["l"])(e.name)&&t.srcList.push(e.file_url)}))},immediate:!0}},methods:{toSrcIcon:function(e){return Object(l["f"])(e)},toSizeFile:function(e){return Object(l["c"])(e)},getFileTypeFn:function(e){return Object(l["e"])(e)},fileDelete:function(e){this.fileList.splice(e,1)}}},a=c,r=(i("4d7a"),i("2877")),o=Object(r["a"])(a,n,s,!1,null,"046a3d6b",null);t["default"]=o.exports}}]);