From 09a80688d2a891b89ae8241e6d5bac43d1d65310 Mon Sep 17 00:00:00 2001 From: dolonfly Date: Fri, 3 May 2019 14:14:37 +0800 Subject: [PATCH] fix[Example]: fixed display_time always NaN bug (#2001) --- src/views/example/components/ArticleDetail.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/example/components/ArticleDetail.vue b/src/views/example/components/ArticleDetail.vue index 55d2972a..4ef43e49 100644 --- a/src/views/example/components/ArticleDetail.vue +++ b/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) {