fix: 视图明细滚动
This commit is contained in:
parent
0b654f84b5
commit
d7143d1bc7
@ -19,7 +19,7 @@
|
||||
</div>
|
||||
</de-main-container>
|
||||
<de-main-container v-show="!showChartCanvas">
|
||||
<table-normal :chart="chartTable" :show-summary="false" class="table-class" />
|
||||
<table-normal :enable-scroll="false" :chart="chartTable" :show-summary="false" class="table-class" />
|
||||
</de-main-container>
|
||||
</de-container>
|
||||
</template>
|
||||
|
||||
@ -24,8 +24,7 @@
|
||||
sortable
|
||||
:title="field.name"
|
||||
:width="columnWidth"
|
||||
>
|
||||
</ux-table-column>
|
||||
/>
|
||||
</ux-grid>
|
||||
|
||||
<el-row v-show="showPage" class="table-page">
|
||||
@ -74,6 +73,11 @@ export default {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: true
|
||||
},
|
||||
enableScroll: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: true
|
||||
}
|
||||
},
|
||||
data() {
|
||||
@ -230,9 +234,11 @@ export default {
|
||||
this.height = 'auto'
|
||||
}
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.initScroll()
|
||||
})
|
||||
if (this.enableScroll) {
|
||||
this.$nextTick(() => {
|
||||
this.initScroll()
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user