【issues/8564】basicTale的TableLayout换成auto不生效

pull/8387/merge
JEECG 2025-07-19 09:29:37 +08:00
parent 967197d224
commit 1c2a49d371
1 changed files with 3 additions and 1 deletions

View File

@ -269,6 +269,9 @@
const getBindValues = computed(() => {
const dataSource = unref(getDataSourceRef);
let propsData: Recordable = {
// date-begin--author:liaozhiyang---date:20250716---forissues/8564basicTaleTableLayoutauto
tableLayout: 'fixed',
// date-begin--author:liaozhiyang---date:20250716---forissues/8564basicTaleTableLayoutauto
// ...(dataSource.length === 0 ? { getPopupContainer: () => document.body } : {}),
...attrs,
customRow,
@ -278,7 +281,6 @@
...unref(getHeaderProps),
scroll: unref(getScrollRef),
loading: unref(getLoading),
tableLayout: 'fixed',
rowSelection: unref(getRowSelectionRef),
rowKey: unref(getRowKey),
columns: toRaw(unref(getViewColumns)),