mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-24 11:05:17 +08:00
style(table): delete invalid code (#1596)
Co-authored-by: winerlu <winerlu@tencent.com>
This commit is contained in:
parent
9f3e44d321
commit
27c74347a2
@ -255,7 +255,7 @@
|
||||
</template>
|
||||
|
||||
<script lang='ts'>
|
||||
import { defineComponent, getCurrentInstance, computed } from 'vue'
|
||||
import { defineComponent, getCurrentInstance } from 'vue'
|
||||
import { createStore } from './store/helper'
|
||||
import { t } from '@element-plus/locale'
|
||||
import { Mousewheel } from '@element-plus/directives'
|
||||
@ -381,14 +381,6 @@ export default defineComponent({
|
||||
})
|
||||
table.layout = layout
|
||||
|
||||
const shouldUpdateHeight = computed(() => {
|
||||
return (
|
||||
props.height ||
|
||||
props.maxHeight ||
|
||||
store.states.fixedColumns.value.length > 0 ||
|
||||
store.states.rightFixedColumns.value.length > 0
|
||||
)
|
||||
})
|
||||
/**
|
||||
* open functions
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user