Blame view

examples/routers/time.vue 346 Bytes
7f9ea0dc   梁灏   init Time component
1
2
  <template>
      <div>
eb37e68c   梁灏   update Time
3
4
          <Time :time="1526608921" />
          <Time :time="1652839997" />
6918b81d   梁灏   update demo
5
          <Time :time="ddd" :interval="1" />
2b98434e   梁灏   update Time
6
7
  
  
7f9ea0dc   梁灏   init Time component
8
9
10
11
12
      </div>
  </template>
  <script>
      export default {
          data () {
eb37e68c   梁灏   update Time
13
              return {
2b98434e   梁灏   update Time
14
                  ddd: new Date()
eb37e68c   梁灏   update Time
15
              };
7f9ea0dc   梁灏   init Time component
16
17
18
19
20
          },
          computed: {},
          methods: {}
      };
  </script>