Blame view

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