schangxiang@126.com
2025-05-07 7d0b4bd1bda6ab6c39df24462c2e8a0df0a3b4c4
HIAWms/web/src/components/Table/state.ts
对比新文件
@@ -0,0 +1,9 @@
import { ref, provide, inject } from 'vue'
export const createProvide = (key: string, methods: Record<string, any>) => {
  provide(key, methods)
}
export const useInject = (key: string) => {
  return inject(key)
}