222
schangxiang@126.com
2025-05-06 38b161e4d52362081bfe78fb5b51fbf384db7ce2
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)
}