(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0e62a8"],{"981d":function(e,t,n){"use strict";n.r(t);var u=function(){var e=this,t=e._self._c;return t("span",[t("el-tag",{attrs:{type:e.color}},[e._v("您点击了: "+e._s(e.currentValue))]),t("el-button",{staticClass:"d2-ml-5",attrs:{disabled:e.disabled||e.readonly},on:{click:function(t){return e.doClick("1")}}},[e._v("点击1")]),t("el-button",{attrs:{disabled:e.disabled||e.readonly},on:{click:function(t){return e.doClick("2")}}},[e._v("点击2")]),e._v(" 插槽："),e._t("test1",null,{value:1})],2)},l=[],a={name:"d2p-form-input",props:{value:{type:String,required:!1},disabled:{type:[Boolean],required:!1,default:!1},readonly:{type:[Boolean],required:!1,default:!1},color:{required:!1}},data:function(){return{currentValue:""}},computed:{},watch:{value:function(e){this.$emit("change",e),this.currentValue!==e&&this.setValue(e)}},created:function(){this.setValue(this.value)},mounted:function(){},methods:{setValue:function(e){this.currentValue=e},doClick:function(e){this.$emit("input",e)}}},i=a,r=n("2877"),o=Object(r["a"])(i,u,l,!1,null,null,null);t["default"]=o.exports}}]);