🎨加了一些组件数据监听优化

This commit is contained in:
2024-09-23 17:17:29 +08:00
parent f2dcb13e0d
commit 13e4006592
11 changed files with 82 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import { getCurrentInstance } from "vue";
export default function event() {
const instance = getCurrentInstance();
const globalProperties = instance?.appContext.config.globalProperties;
return { ...globalProperties };
}

View File

@@ -0,0 +1 @@
export * from './event'