chunk-37190596.8863eda2.js 1.3 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-37190596"],{"7bcf":function(e,t,r){"use strict";r.r(t);var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"box"},["dialog"===this.$route.query.fodder||"many"===this.$route.query.type?r("upload-from",{attrs:{isChoice:e.isChoiceD,gridPic:e.gridPic,gridBtn:e.gridBtn},on:{getPicD:e.getPicD}}):r("upload-from",{attrs:{isChoice:e.isChoice,gridPic:e.gridPic,gridBtn:e.gridBtn},on:{getPic:e.getPic}})],1)},o=[],c=r("b0e7"),d={name:"widgetImg",components:{uploadFrom:c["a"]},data:function(){return{isChoice:"单选",isChoiceD:"多选",gridPic:{xl:4,lg:4,md:8,sm:12,xs:12},gridBtn:{xl:4,lg:4,md:4,sm:8,xs:8}}},mounted:function(){},methods:{getPicD:function(e){if("dialog"===this.$route.query.fodder);else{var t=window.form_create_helper.get(this.$route.query.fodder)||[];e=e.map((function(e){return e.att_dir}));var r=t.concat(e),i=Array.from(new Set(r));form_create_helper.set(this.$route.query.fodder,i),form_create_helper.close(this.$route.query.fodder)}},getPic:function(e){form_create_helper.set(this.$route.query.fodder,e.satt_dir),form_create_helper.close(this.$route.query.fodder)}}},n=d,s=(r("ff66"),r("2877")),u=Object(s["a"])(n,i,o,!1,null,"d40b7b20",null);t["default"]=u.exports},dc50:function(e,t,r){},ff66:function(e,t,r){"use strict";var i=r("dc50"),o=r.n(i);o.a}}]);