refactor: reorganize all components (#8303)

This commit is contained in:
neverland
2021-03-08 11:50:37 +08:00
committed by GitHub
parent 3144a63d2b
commit e540876398
193 changed files with 1307 additions and 400 deletions

View File

@@ -1,4 +1,11 @@
import { ref, watch, computed, nextTick, onMounted } from 'vue';
import {
ref,
watch,
computed,
nextTick,
onMounted,
defineComponent,
} from 'vue';
// Utils
import {
@@ -16,9 +23,11 @@ import { useExpose } from '../composables/use-expose';
// Components
import Picker from '../picker';
const [createComponent] = createNamespace('time-picker');
const [name] = createNamespace('time-picker');
export default defineComponent({
name,
export default createComponent({
props: {
...sharedProps,
modelValue: String,