chore: add combolist component to the test application
This commit is contained in:
parent
87189e4eeb
commit
e781133016
|
@ -1,6 +1,7 @@
|
|||
import type { App } from 'vue';
|
||||
import FComboList from './src/combo-list.component';
|
||||
|
||||
export * from './src/types';
|
||||
export * from './src/combo-list.props';
|
||||
|
||||
export { FComboList };
|
||||
|
|
|
@ -1,7 +1,14 @@
|
|||
import { defineComponent } from 'vue';
|
||||
import { comboListProps } from './combo-list.props';
|
||||
import { defineComponent, SetupContext } from 'vue';
|
||||
import { comboListProps, ComboListProps } from './combo-list.props';
|
||||
export default defineComponent({
|
||||
name: 'FComboList',
|
||||
props: comboListProps,
|
||||
emits: [],
|
||||
setup(props: ComboListProps, context: SetupContext) {
|
||||
return () => {
|
||||
return (
|
||||
<div id={props.id}>combo-list</div>
|
||||
);
|
||||
};
|
||||
}
|
||||
});
|
|
@ -12,6 +12,7 @@ import RadioGroup from './components/radio-group.vue';
|
|||
import Section from './components/section.vue';
|
||||
import Notify from './components/notify.vue';
|
||||
import Accordion from './components/accordion.vue';
|
||||
import ComboList from './components/combo-list.vue';
|
||||
|
||||
const canEdit = ref(true);
|
||||
const disable = ref(false);
|
||||
|
@ -44,6 +45,7 @@ const canAutoComplete = ref(false);
|
|||
<Notify></Notify>
|
||||
<Accordion></Accordion>
|
||||
<Tabs />
|
||||
<ComboList />
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<script setup lang="ts">
|
||||
import ComboList from '../../components/combo-list/src/combo-list.component';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ComboList/>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue