init Time component
This commit is contained in:
parent
fce83323b9
commit
7f9ea0dc5e
6 changed files with 33 additions and 1 deletions
2
src/components/time/index.js
Normal file
2
src/components/time/index.js
Normal file
|
@ -0,0 +1,2 @@
|
|||
import Time from './time.vue';
|
||||
export default Time;
|
8
src/components/time/time.vue
Normal file
8
src/components/time/time.vue
Normal file
|
@ -0,0 +1,8 @@
|
|||
<template>
|
||||
<span>time</span>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
|
||||
};
|
||||
</script>
|
|
@ -42,6 +42,7 @@ import Switch from './components/switch';
|
|||
import Table from './components/table';
|
||||
import Tabs from './components/tabs';
|
||||
import Tag from './components/tag';
|
||||
import Time from './components/time';
|
||||
import Timeline from './components/timeline';
|
||||
import TimePicker from './components/time-picker';
|
||||
import Tooltip from './components/tooltip';
|
||||
|
@ -114,6 +115,7 @@ const components = {
|
|||
Tabs: Tabs,
|
||||
TabPane: Tabs.Pane,
|
||||
Tag,
|
||||
Time,
|
||||
Timeline,
|
||||
TimelineItem: Timeline.Item,
|
||||
TimePicker,
|
||||
|
@ -138,7 +140,8 @@ const iview = {
|
|||
iProgress: Progress,
|
||||
iSelect: Select,
|
||||
iSwitch: Switch,
|
||||
iTable: Table
|
||||
iTable: Table,
|
||||
iTime: Time
|
||||
};
|
||||
|
||||
const install = function(Vue, opts = {}) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue