refactor(projects): 代码优化

This commit is contained in:
Soybean
2022-08-22 23:34:14 +08:00
parent 44ab07779e
commit 49f95c4e45
6 changed files with 5 additions and 19 deletions

View File

@ -1 +0,0 @@
// import type { DataTableColumn } from 'naive-ui';

View File

@ -7,6 +7,7 @@ export default function useContext<T>(contextName = 'context') {
function useProvide(context: T) {
provide(injectKey, context);
return context;
}
function useInject() {