mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-06 03:57:53 +08:00
fix[Example]: fixed display_time always NaN bug (#2001)
This commit is contained in:
parent
abac07820a
commit
09a80688d2
@ -189,7 +189,7 @@ export default {
|
|||||||
this.$store.dispatch('tagsView/updateVisitedView', route)
|
this.$store.dispatch('tagsView/updateVisitedView', route)
|
||||||
},
|
},
|
||||||
submitForm() {
|
submitForm() {
|
||||||
this.postForm.display_time = parseInt(this.display_time / 1000)
|
this.postForm.display_time = parseInt(this.postForm.display_time / 1000)
|
||||||
console.log(this.postForm)
|
console.log(this.postForm)
|
||||||
this.$refs.postForm.validate(valid => {
|
this.$refs.postForm.validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user