fix lint error (#431)
This commit is contained in:
parent
530f05d228
commit
4b9db042ed
|
|
@ -209,24 +209,24 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
computed: {
|
||||||
|
formData() {
|
||||||
|
return [...this.data].sort((a, b) => new Date(b.created_at) - new Date(a.created_at))
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
columns: {
|
columns: {
|
||||||
handler() {
|
handler() {
|
||||||
this.internalColumns = clonedeep(this.columns)
|
this.internalColumns = clonedeep(this.columns)
|
||||||
this.onStructureChange()
|
this.onStructureChange()
|
||||||
},
|
},
|
||||||
deep: true,
|
deep: true
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.handleScroll()
|
this.handleScroll()
|
||||||
})
|
})
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
computed: {
|
|
||||||
formData(){
|
|
||||||
return this.data.sort((a, b) => new Date(b.created_at) - new Date(a.created_at));
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue