mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-22 07:04:24 +00:00
fix(baTable):修复 el-table 原有属性失效的问题
This commit is contained in:
parent
a1f25269ae
commit
f063d5dfaf
@ -67,7 +67,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, nextTick, inject, computed } from 'vue'
|
||||
import type { TableInstance, TableProps } from 'element-plus'
|
||||
import type { ElTable, TableInstance } from 'element-plus'
|
||||
import Column from '/@/components/table/column/index.vue'
|
||||
import FieldRender from '/@/components/table/fieldRender/index.vue'
|
||||
import { useConfig } from '/@/stores/config'
|
||||
@ -77,7 +77,7 @@ const config = useConfig()
|
||||
const tableRef = ref<TableInstance>()
|
||||
const baTable = inject('baTable') as baTableClass
|
||||
|
||||
interface Props extends Partial<TableProps<anyObj>> {
|
||||
interface Props extends /* @vue-ignore */ Partial<InstanceType<typeof ElTable>> {
|
||||
pagination?: boolean
|
||||
}
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
|
Loading…
Reference in New Issue
Block a user