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:
Huangzhe
2025-05-26 14:33:59 +08:00
2 changed files with 3 additions and 1 deletions

View File

@@ -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">

View File

@@ -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
});
}
});