This commit is contained in:
梁灏 2018-05-17 18:27:34 +08:00
parent 492f652bab
commit 42f644a31c
4 changed files with 14 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<template>
<span :class="classes" @click="handleClick">time</span>
<span :class="classes" @click="handleClick">{{ date }}</span>
</template>
<script>
import Vue from 'vue';
@ -51,7 +51,7 @@
if (this.hash !== '') window.location.hash = this.hash;
},
setTime () {
this.date = this.time;
}
},
mounted () {