|
@@ -75,6 +75,12 @@ export default {
|
|
|
this.txt = tmpTxt
|
|
|
this.content = getModelExpStr(this.msg,this.txt)
|
|
|
// this.$emit('changeMultipVal',e.currentTarget.value,num)
|
|
|
+
|
|
|
+ const select = this.part.select;
|
|
|
+ // if(!select){return}
|
|
|
+ const newData = Object.assign({},this.part,{value:this.txt,controlType:3,valueP:this.txt});
|
|
|
+ this.$emit("updata",newData);
|
|
|
+ this.$emit('handleInp',this.txt);
|
|
|
},
|
|
|
blur(){
|
|
|
// 如果该项未选中,则不存值
|
|
@@ -82,11 +88,6 @@ export default {
|
|
|
setTimeout(()=>{
|
|
|
document.activeElement.scrollIntoViewIfNeeded(true);
|
|
|
},300)
|
|
|
- const select = this.part.select;
|
|
|
- // if(!select){return}
|
|
|
- const newData = Object.assign({},this.part,{value:this.txt,controlType:3,valueP:this.txt});
|
|
|
- this.$emit("updata",newData);
|
|
|
- this.$emit('handleInp',this.txt);
|
|
|
},
|
|
|
handleClick(e){
|
|
|
// 点击输入框时不选中该项
|