(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["components-upload-upload"],{"0b08":function(e,t,n){"use strict";n("4160"),n("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={data:function(){return{imageList:[]}},onLoad:function(){},mounted:function(){this.chooseImageFunc()},methods:{chooseImageFunc:function(){var e=this;uni.chooseImage({count:9,sizeType:["original","compressed"],sourceType:["album"],success:function(t){e.uploadFile(t.tempFilePaths)},fail:function(t){e.$emit("getImgs",null)},complete:function(e){}})},uploadFile:function(e){var t=this,n=0,i=e.length,u={token:uni.getStorageSync("token"),app_id:t.getAppId()};uni.showLoading({title:"图片上传中"}),e.forEach((function(e,o){uni.uploadFile({url:t.websiteUrl+"/index.php?s=/api/file.upload/image",filePath:e,name:"iFile",formData:u,success:function(e){var n="object"===typeof e.data?e.data:JSON.parse(e.data);1===n.code&&t.imageList.push(n.data)},complete:function(){n++,i===n&&(uni.hideLoading(),t.$emit("getImgs",t.imageList))}})}))}}};t.default=i},1241:function(e,t,n){"use strict";n.r(t);var i=n("5652"),u=n("f724");for(var o in u)"default"!==o&&function(e){n.d(t,e,(function(){return u[e]}))}(o);var a,c=n("f0c5"),r=Object(c["a"])(u["default"],i["b"],i["c"],!1,null,"132d2670",null,!1,i["a"],a);t["default"]=r.exports},5652:function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view")},o=[]},f724:function(e,t,n){"use strict";n.r(t);var i=n("0b08"),u=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=u.a}}]);