未验证 提交 35f2d074 编写于 作者: G GauharChan 提交者: GitHub

fix: 修复#2030改动引起的可展开table失效 (#2042)

上级 c0e40fa0
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
content="不可与scroll共用。TableAction组件可配置stopButtonPropagation来阻止操作按钮的点击事件冒泡,以便配合Table组件的expandRowByClick" content="不可与scroll共用。TableAction组件可配置stopButtonPropagation来阻止操作按钮的点击事件冒泡,以便配合Table组件的expandRowByClick"
> >
<BasicTable @register="registerTable"> <BasicTable @register="registerTable">
<template #expandedRowRender="{ record }">
<span>No: {{ record.no }} </span>
</template>
<template #bodyCell="{ column, record }"> <template #bodyCell="{ column, record }">
<template v-if="column.key === 'no'"> <template v-if="column.key === 'action'">
<span>No: {{ record.no }} </span>
</template>
<template v-else-if="column.key === 'action'">
<TableAction <TableAction
stopButtonPropagation stopButtonPropagation
:actions="[ :actions="[
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册