webpackJsonp([37],{KOwB:function(t,e){},roJz:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={name:"TagValueItem",props:{item:Object,currentLength:Number},data:function(){return{tagValue:""}},methods:{onPaste:function(t){var e=this;if(this.currentLength>=100)return this.$message.warning("标签值最多支持设置100个");this.$emit("paste",t),setTimeout(function(){e.item.tagItemName=""},10)},add:function(){if(this.currentLength>=100)return this.$message.warning("标签值最多支持设置100个");this.$emit("add",this.item.id)},del:function(){this.$emit("del",this.item.id)}}},a={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"flex"},[n("el-input",{staticClass:"w-380",attrs:{placeholder:"请输入标签值",maxlength:"15","show-word-limit":""},on:{change:t.onChange},nativeOn:{paste:function(e){return t.onPaste(e)}},model:{value:t.item.tagItemName,callback:function(e){t.$set(t.item,"tagItemName",e)},expression:"item.tagItemName"}}),t._v(" "),n("i",{staticClass:"iconfont plus icon margin icon-PlusOutlined",on:{click:t.add}}),t._v(" "),t.currentLength>1&&!t.item.tagItemId?n("i",{staticClass:"iconfont delete icon icon-delete",on:{click:t.del}}):t._e()],1)},staticRenderFns:[]};var s=n("VU/8")(i,a,!1,function(t){n("KOwB")},"data-v-28163ea4",null);e.default=s.exports}});