Browse Source

fix[Example]: fixed display_time always NaN bug (#2001)

pull/2013/head
dolonfly 6 years ago committed by 花裤衩
parent
commit
09a80688d2
  1. 2
      src/views/example/components/ArticleDetail.vue

2
src/views/example/components/ArticleDetail.vue

@ -189,7 +189,7 @@ export default {
this.$store.dispatch('tagsView/updateVisitedView', route)
},
submitForm() {
this.postForm.display_time = parseInt(this.display_time / 1000)
this.postForm.display_time = parseInt(this.postForm.display_time / 1000)
console.log(this.postForm)
this.$refs.postForm.validate(valid => {
if (valid) {

Loading…
Cancel
Save