diff --git a/components/OneDemo.vue b/components/OneDemo.vue index 9708e44..b62f17c 100644 --- a/components/OneDemo.vue +++ b/components/OneDemo.vue @@ -91,6 +91,7 @@ import { BrowserWindow } from 'vue-windows' import { getLocale } from '../common/i18n' import { play } from '../common/play' import OneEditLink from './OneEditLink' +import OneRepl from './OneRepl' export default { name: 'one-demo', @@ -102,7 +103,7 @@ export default { 'veui-icon': Icon, BrowserWindow, OneEditLink, - OneRepl: () => import('./OneRepl') + OneRepl }, mixins: [i18n], props: { diff --git a/components/OneRepl.vue b/components/OneRepl.vue index 946092f..d1d9ef6 100644 --- a/components/OneRepl.vue +++ b/components/OneRepl.vue @@ -19,15 +19,28 @@