(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0ba88572"],{b4ad:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("Card",[a("div",{staticClass:"cropper-example cropper-first"},[a("cropper",{ref:"info",attrs:{src:e.exampleImageSrc,"crop-button-text":e.$t("submit")},on:{transmitInfo:e.handleCroped}})],1)])],1)},s=[],r=a("9ffe"),c=a("7e1e"),o=a("c276"),i={name:"cropper_page",components:{Cropper:r["a"]},data:function(){return{token:Object(o["h"])(),exampleImageSrc:""}},created:function(){},methods:{handleCroped:function(e){var t=this;if(e.fileSize>2097152)this.$Message.warning(this.$t("doc_too_large_and_upload_again"));else{var a=new FormData;a.append("access_token",this.token),a.append("file",e.updataFile),Object(c["c"])(a).then((function(e){200===e.ret?(t.$Message.success(t.$t("successfully_uploaded")),t.$router.push({name:"assets_manage"})):t.$Message.warning(e.msg)}))}}}},p=i,u=(a("d056"),a("2877")),d=Object(u["a"])(p,n,s,!1,null,null,null);t["default"]=d.exports},c5e3:function(e,t,a){},d056:function(e,t,a){"use strict";var n=a("c5e3"),s=a.n(n);s.a}}]);