diff --git a/packages/_vue3-migration-test/src/components/index.ts b/packages/_vue3-migration-test/src/components/index.ts index 17064b65e5..45c4690d74 100644 --- a/packages/_vue3-migration-test/src/components/index.ts +++ b/packages/_vue3-migration-test/src/components/index.ts @@ -12,4 +12,5 @@ export { default as TestHighlight } from './test-highlight.vue'; export { default as TestBaseResultImages } from './result/test-base-result-images.vue'; export { default as TestBasePanel } from './panels/test-base-panel.vue'; export { default as TestBaseKeyboardNavigation } from './test-base-keyboard-navigation.vue'; +export { default as TestBaseEventsModal } from './modals/test-base-events-modal.vue'; export { default as TestBaseIdModal } from './modals/test-base-id-modal.vue'; diff --git a/packages/_vue3-migration-test/src/components/modals/test-base-events-modal.vue b/packages/_vue3-migration-test/src/components/modals/test-base-events-modal.vue new file mode 100644 index 0000000000..935e5363a2 --- /dev/null +++ b/packages/_vue3-migration-test/src/components/modals/test-base-events-modal.vue @@ -0,0 +1,43 @@ + + + Open modal + + Hello + The modal is working with events!! + Close modal + + + + + + + diff --git a/packages/_vue3-migration-test/src/router.ts b/packages/_vue3-migration-test/src/router.ts index bca8bce3ab..7b921ae201 100644 --- a/packages/_vue3-migration-test/src/router.ts +++ b/packages/_vue3-migration-test/src/router.ts @@ -27,6 +27,7 @@ import { TestBaseResultImages, TestBasePanel, TestBaseKeyboardNavigation, + TestBaseEventsModal, TestBaseIdModal } from './'; @@ -166,6 +167,11 @@ const routes = [ name: 'TestBaseKeyboardNavigation', component: TestBaseKeyboardNavigation }, + { + path: '/base-events-modal', + name: 'BaseEventsModal', + component: TestBaseEventsModal + }, { path: '/test-base-id-modal', name: 'TestBaseIdModal', diff --git a/packages/x-components/src/components/modals/base-events-modal.vue b/packages/x-components/src/components/modals/base-events-modal.vue index aa17adb9b0..9eae82ebc5 100644 --- a/packages/x-components/src/components/modals/base-events-modal.vue +++ b/packages/x-components/src/components/modals/base-events-modal.vue @@ -1,22 +1,22 @@
The modal is working with events!!