This commit is contained in:
2026-01-05 12:47:14 +08:00
commit 1fc846fae3
1614 changed files with 162035 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import type { ComponentPublicInstance } from 'vue'
import { getCurrentInstance } from 'vue'
export function useExpose(apis: Record<string, any>) {
const instance = getCurrentInstance()
if (instance)
Object.assign(instance.proxy as ComponentPublicInstance, apis)
}