chore: modify component export method

This commit is contained in:
vben
2020-11-27 21:43:47 +08:00
parent 68a96b7f81
commit b71e4e5186
18 changed files with 58 additions and 80 deletions

View File

@@ -1,7 +1,5 @@
import Authority from './src/index.vue';
import AuthorityLib from './src/index.vue';
import { withInstall } from '../util';
export default withInstall(Authority);
export { Authority };
export const Authority = withInstall(AuthorityLib);