|
@@ -21,7 +21,6 @@
|
|
|
<Input v-if="it.controlType==6 || it.controlType==7"
|
|
|
:item="it"
|
|
|
:key="it.id"
|
|
|
- @focusPosition="focusPosition"
|
|
|
@updata="updataData($event,it.id,i)"/>
|
|
|
<!-- 文本域 -->
|
|
|
<ComTextArea v-if="it.controlType == 5"
|
|
@@ -100,9 +99,6 @@
|
|
|
})
|
|
|
},
|
|
|
methods:{
|
|
|
- focusPosition(e){
|
|
|
- // this.scroll.scrollToElement(e.target,100,0,-40);
|
|
|
- },
|
|
|
onScroll(data) {
|
|
|
this.$store.commit('setScroll', data);
|
|
|
document.activeElement.scrollIntoViewIfNeeded(true);
|