(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-73bd2c3b"],{"76c9":function(o,t,i){"use strict";i("d3fa")},"8d90":function(o,t,i){"use strict";i.r(t);var e=function(){var o=this,t=o.$createElement,i=o._self._c||t;return i("a-modal",{attrs:{visible:o.visible,title:"修改头像",maskClosable:!1,confirmLoading:o.confirmLoading,width:800},on:{cancel:o.cancelHandel}},[i("a-row",[i("a-col",{style:{height:"350px"},attrs:{xs:24,md:12}},[i("vue-cropper",{ref:"cropper",attrs:{img:o.options.img,info:!0,autoCrop:o.options.autoCrop,autoCropWidth:o.options.autoCropWidth,autoCropHeight:o.options.autoCropHeight,fixedBox:o.options.fixedBox},on:{realTime:o.realTime}})],1),i("a-col",{style:{height:"350px"},attrs:{xs:24,md:12}},[i("div",{staticClass:"avatar-upload-preview"},[i("img",{style:o.previews.img,attrs:{src:o.previews.url}})])])],1),i("template",{slot:"footer"},[i("a-button",{key:"back",on:{click:o.cancelHandel}},[o._v("取消")]),i("a-button",{key:"submit",attrs:{type:"primary",loading:o.confirmLoading},on:{click:o.okHandel}},[o._v("保存")])],1)],2)},n=[],a=i("7e79"),s={components:{VueCropper:a["VueCropper"]},data:function(){return{visible:!1,id:null,confirmLoading:!1,options:{img:"/avatar2.jpg",autoCrop:!0,autoCropWidth:200,autoCropHeight:200,fixedBox:!0},previews:{}}},methods:{edit:function(o){this.visible=!0,this.id=o},close:function(){this.id=null,this.visible=!1},cancelHandel:function(){this.close()},okHandel:function(){var o=this;o.confirmLoading=!0,setTimeout((function(){o.confirmLoading=!1,o.close(),o.$message.success("上传头像成功")}),2e3)},realTime:function(o){this.previews=o}}},r=s,c=(i("76c9"),i("2877")),l=Object(c["a"])(r,e,n,!1,null,"385c74f1",null);t["default"]=l.exports},d3fa:function(o,t,i){}}]);