style(table): delete invalid code (#1596)

Co-authored-by: winerlu <winerlu@tencent.com>
This commit is contained in:
justwiner 2021-03-09 20:20:25 +08:00 committed by GitHub
parent 9f3e44d321
commit 27c74347a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
*/