Merge pull request #3645 from icarusion/Time-component
add Time component
This commit is contained in:
commit
92ffd65dda
9 changed files with 218 additions and 1 deletions
18
examples/routers/time.vue
Normal file
18
examples/routers/time.vue
Normal file
|
@ -0,0 +1,18 @@
|
|||
<template>
|
||||
<div>
|
||||
<Time :time="1526608921" />
|
||||
<Time :time="1652839997" />
|
||||
<Time :time="ddd" :interval="1" />
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
ddd: new Date('2018-04-27 14:23:00')
|
||||
};
|
||||
},
|
||||
computed: {},
|
||||
methods: {}
|
||||
};
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue