Commit ef266d5b by qinjianhui

fix: 表格 showOverflowTooltip 修改

parent e737142b
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<ElTable <ElTable
ref="tableRef" ref="tableRef"
:data="paginatedData" :data="paginatedData"
show-overflow-tooltip :show-overflow-tooltip="showOverflowTooltip"
border border
:stripe="stripe" :stripe="stripe"
header-align="center" header-align="center"
...@@ -115,6 +115,10 @@ const props = defineProps({ ...@@ -115,6 +115,10 @@ const props = defineProps({
type: Boolean, type: Boolean,
default: false, default: false,
}, },
showOverflowTooltip: {
type: Boolean,
default: true,
},
}) })
const attrs = useAttrs() const attrs = useAttrs()
......
...@@ -1163,6 +1163,7 @@ ...@@ -1163,6 +1163,7 @@
:cell-style="onCellStyle" :cell-style="onCellStyle"
:row-style="getRowStyle" :row-style="getRowStyle"
:row-class-name="getRowClassName" :row-class-name="getRowClassName"
:show-overflow-tooltip="false"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
> >
<template #serialNumber="{ row, index }"> <template #serialNumber="{ row, index }">
......
...@@ -1212,6 +1212,7 @@ ...@@ -1212,6 +1212,7 @@
:cell-class-name="onCellClassName" :cell-class-name="onCellClassName"
:row-style="getRowStyle" :row-style="getRowStyle"
:row-class-name="getRowClassName" :row-class-name="getRowClassName"
:show-overflow-tooltip="false"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
> >
<template #serialNumber="{ row, index }"> <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