now refresh method is exposed
This commit is contained in:
@@ -103,6 +103,10 @@ const rounded = () => {
|
||||
links && links.lastElementChild?.classList.add('rounded-r-md')
|
||||
}
|
||||
|
||||
defineExpose({
|
||||
refresh: fetch,
|
||||
})
|
||||
|
||||
onMounted(fetch)
|
||||
onMounted(() => config.sticky && createFloatingTh())
|
||||
onMounted(() => inherit())
|
||||
|
||||
Reference in New Issue
Block a user