zs
2025-04-30 3fbfefcf6bdbf35ac36d6e9b01aa75e2cff77ab6
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)
}