mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-28 05:39:34 +08:00
fix(comp): fix the memory overflow problem of component containing keywords
This commit is contained in:
@@ -1,2 +1,7 @@
|
||||
export { default as QrCode } from './src/index.vue';
|
||||
import { withInstall } from '../util';
|
||||
|
||||
import { createAsyncComponent } from '/@/utils/factory/createAsyncComponent';
|
||||
export const QrCode = createAsyncComponent(() => import('./src/index.vue'));
|
||||
|
||||
withInstall(QrCode);
|
||||
export * from './src/types';
|
||||
|
Reference in New Issue
Block a user