Commit ef266d5b by qinjianhui

fix: 表格 showOverflowTooltip 修改

parent e737142b
......@@ -3,7 +3,7 @@
<ElTable
ref="tableRef"
:data="paginatedData"
show-overflow-tooltip
:show-overflow-tooltip="showOverflowTooltip"
border
:stripe="stripe"
header-align="center"
......@@ -115,6 +115,10 @@ const props = defineProps({
type: Boolean,
default: false,
},
showOverflowTooltip: {
type: Boolean,
default: true,
},
})
const attrs = useAttrs()
......
......@@ -1163,6 +1163,7 @@
:cell-style="onCellStyle"
:row-style="getRowStyle"
:row-class-name="getRowClassName"
:show-overflow-tooltip="false"
@selection-change="handleSelectionChange"
>
<template #serialNumber="{ row, index }">
......
......@@ -1212,6 +1212,7 @@
:cell-class-name="onCellClassName"
:row-style="getRowStyle"
:row-class-name="getRowClassName"
:show-overflow-tooltip="false"
@selection-change="handleSelectionChange"
>
<template #serialNumber="{ row, index }">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment