Merge branch 'feature/feature-20250430-h5' of https://e.coding.yili.com/yldc/ylst/ylst-survey-h5 into feature/feature-20250430-h5
This commit is contained in:
@@ -131,6 +131,7 @@ function tooptipFormatter(data: { row: any; column: any; cellValue: any }): VNod
|
||||
:width="item.width"
|
||||
:prop="item.prop"
|
||||
:label="item.label"
|
||||
:show-overflow-tooltip="item.tooltip ? item.tooltip : true"
|
||||
>
|
||||
<template #default="scope">
|
||||
<slot name="column-default" :scope="scope">
|
||||
|
||||
@@ -77,7 +77,8 @@ const getTableHeadProps = (values: any[], option: any[]): TablePropsType[] => {
|
||||
head.push({
|
||||
label: item.title,
|
||||
prop: item.key,
|
||||
width: values.length < 4 ? width.value / values.length : 100
|
||||
width: values.length < 4 ? width.value / values.length : 100,
|
||||
tooltip: false
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user