Skip to content

Commit d8fbcae

Browse files
dolonflyfuliang
dolonfly
authored and
fuliang
committed
fix[Example]: fixed display_time always NaN bug (PanJiaChen#2001)
1 parent b9f863a commit d8fbcae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/example/components/ArticleDetail.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export default {
189189
this.$store.dispatch('tagsView/updateVisitedView', route)
190190
},
191191
submitForm() {
192-
this.postForm.display_time = parseInt(this.display_time / 1000)
192+
this.postForm.display_time = parseInt(this.postForm.display_time / 1000)
193193
console.log(this.postForm)
194194
this.$refs.postForm.validate(valid => {
195195
if (valid) {

0 commit comments

Comments
 (0)