diff --git a/src/components/VnTable/VnOrder.vue b/src/components/VnTable/VnOrder.vue index 63e5eecb4..375def792 100644 --- a/src/components/VnTable/VnOrder.vue +++ b/src/components/VnTable/VnOrder.vue @@ -41,7 +41,7 @@ async function orderBy(name, direction) { break; } if (!direction) return await arrayData.deleteOrder(name); - await arrayData.addOrder($props.name, direction); + await arrayData.addOrder(name, direction); } defineExpose({ orderBy });