(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-043db502"],{"17f4":function(t,e,a){},a1d9:function(t,e,a){"use strict";a("17f4")},b418:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-upload",t._g(t._b({staticClass:"ym-upload-file",attrs:{drag:"",headers:t.headers,action:t.api+"upload","on-success":t.handleSuccess}},"el-upload",t.$attrs,!1),t.$listeners),[a("i",{staticClass:"el-icon-upload"}),a("div",{staticClass:"el-upload__text"},[t._v("将文件拖到此处，或"),a("em",[t._v("点击上传")])]),a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v(t._s(t.tip))])])},l=[],n=a("5f87"),i={name:"UploadImage",model:{prop:"value",event:"update"},props:{value:{type:[Array,String],default:function(){return[]}},tip:{type:String,default:""},api:{type:String,default:window.global.baseURL}},data:function(){return{headers:{Authorization:Object(n["a"])()}}},methods:{handleSuccess:function(t,e){console.table("🚀  文件上传成功:",t,e);var a=t.data,s=t.code;0===s&&this.$emit("update",a.url)}}},u=i,o=(a("a1d9"),a("2877")),d=Object(o["a"])(u,s,l,!1,null,null,null);e["default"]=d.exports}}]);