(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2dbd054c","chunk-2d216593"],{"4a09":function(t,a,e){"use strict";e.r(a);var c=function(){var t=this,a=t.$createElement,c=t._self._c||a;return c("span",{staticClass:"headerAvatar"},["avatar"===t.picType?[t.userInfo.headerImg?c("el-avatar",{attrs:{size:30,src:t.avatar}}):c("el-avatar",{attrs:{size:30,src:e("c1a0")}})]:t._e(),"img"===t.picType?[t.userInfo.headerImg?c("img",{staticClass:"avatar",attrs:{src:t.avatar}}):c("img",{staticClass:"avatar",attrs:{src:e("c1a0")}})]:t._e(),"file"===t.picType?[c("img",{staticClass:"file",attrs:{src:t.file}})]:t._e()],2)},r=[],i=e("5530"),s=(e("fb6a"),e("5880")),n="/api",p={name:"customPic",props:{picType:{type:String,required:!1,default:"avatar"},picSrc:{type:String,required:!1,default:""}},data:function(){return{path:n}},computed:Object(i["a"])(Object(i["a"])({},Object(s["mapGetters"])("user",["userInfo"])),{},{avatar:function(){return""===this.picSrc?""!==this.userInfo.headerImg&&"http"===this.userInfo.headerImg.slice(0,4)?this.userInfo.headerImg:this.path+this.userInfo.headerImg:""!==this.picSrc&&"http"===this.picSrc.slice(0,4)?this.picSrc:this.path+this.picSrc},file:function(){return this.picSrc&&"http"!==this.picSrc.slice(0,4)?this.path+this.picSrc:this.picSrc}})},h=p,u=(e("4cb6"),e("2877")),o=Object(u["a"])(h,c,r,!1,null,"16ecfdc4",null);a["default"]=o.exports},"4cb6":function(t,a,e){"use strict";e("816be")},"816be":function(t,a,e){},c1a0:function(t,a,e){t.exports=e.p+"static/img/noBody.37c3ea6b.png"}}]);