diff --git a/src/components/Table/src/components/TableAction.vue b/src/components/Table/src/components/TableAction.vue
index 4c5c1ed9..99425f9d 100644
--- a/src/components/Table/src/components/TableAction.vue
+++ b/src/components/Table/src/components/TableAction.vue
@@ -91,7 +91,7 @@
.map((action) => {
const { popConfirm } = action;
return {
- getPopupContainer: () => unref((table as any)?.wrapRef.value) ?? document.body,
+ getPopupContainer: () => unref((table as any)?.wrapRef) ?? document.body,
type: 'link',
size: 'small',
...action,
@@ -128,7 +128,7 @@
function getTooltip(data: string | TooltipProps): TooltipProps {
return {
- getPopupContainer: () => unref((table as any)?.wrapRef.value) ?? document.body,
+ getPopupContainer: () => unref((table as any)?.wrapRef) ?? document.body,
placement: 'bottom',
...(isString(data) ? { title: data } : data),
};
diff --git a/src/views/demo/table/VxeTable.vue b/src/views/demo/table/VxeTable.vue
index b4a2954b..24b2163d 100644
--- a/src/views/demo/table/VxeTable.vue
+++ b/src/views/demo/table/VxeTable.vue
@@ -7,7 +7,7 @@
>
-
+
@@ -27,6 +27,7 @@
const gridOptions = reactive({
id: 'VxeTable',
+ keepSource: true,
editConfig: { trigger: 'click', mode: 'cell', showStatus: true },
columns: vxeTableColumns,
toolbarConfig: {