|
@@ -9,7 +9,7 @@
|
|
|
:type="content.type=='number'?'tel':'text'"
|
|
|
:style="{'width':1/content.iptLis.length*100-3+'%'}"
|
|
|
:key="item.placeholder+idx"
|
|
|
- v-model="txt"
|
|
|
+ v-model="item.value"
|
|
|
:placeholder="item.placeholder"
|
|
|
@input="changeVal($event,idx,content.type)"
|
|
|
@blur="blur"
|
|
@@ -17,7 +17,7 @@
|
|
|
<input v-show="content.iptLis.length==1" class="contentVal"
|
|
|
:type="content.type=='number'?'tel':'text'"
|
|
|
:placeholder="content.placeholder"
|
|
|
- v-model="txt"
|
|
|
+ v-model="item.value"
|
|
|
@input="changeVal($event,idx,content.type)"
|
|
|
@blur="blur"
|
|
|
@click="handleClick">
|
|
@@ -76,7 +76,6 @@ 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});
|
|
@@ -100,6 +99,7 @@ export default {
|
|
|
part:{//清空时更新
|
|
|
handler(newVal,oldVal){
|
|
|
this.txt = newVal.value;
|
|
|
+ this.content = getModelExpStr(this.msg,this.txt)
|
|
|
},
|
|
|
deep:true
|
|
|
}
|