app-sub-service.js 1.6 KB

1
  1. (this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["pagesCommon/app-sub-service"],{"896c":function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("view",{staticClass:t._$s(0,"sc","content"),attrs:{_i:0}},[e("view",{staticClass:t._$s(1,"sc","one"),attrs:{_i:1}},[e("upload",{attrs:{list:t.form.file,name:"file",count:1,_i:2},on:{uplSuc:t.uplSuc,uplDel:t.uplDel}}),e("button",{attrs:{_i:3},on:{click:function(n){return t.toSubmit()}}})],1)])},u=[]},aa84:function(t,n,e){"use strict";e.r(n);var a=e("896c"),u=e("acaa");for(var i in u)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(i);var o=e("f0c5"),c=Object(o["a"])(u["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=c.exports},acaa:function(t,n,e){"use strict";e.r(n);var a=e("ea3d"),u=e.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(i);n["default"]=u.a},ea3d:function(t,n,e){"use strict";(function(t){var a=e("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=a(e("448a")),i=a(e("9db5")),o={components:{upload:i.default},data:function(){return{form:{file:[]}}},onLoad:function(){},methods:{uplSuc:function(t){this.$set(this.form,"".concat(t.name),[].concat((0,u.default)(this.form[t.name]),[t.data]))},uplDel:function(t){var n=this.form[t.name],e=n.filter((function(n,e){return e!=t.data.index}));this.$set(this.form,"".concat(t.name),e)},toSubmit:function(){t("log",this.form," at pagesCommon/test/index.vue:38")}}};n.default=o}).call(this,e("0de9")["default"])}}]);