fix(*): 心语记录按时间倒序排列

This commit is contained in:
jmal 2021-06-06 11:24:24 +08:00
parent 0a8f25e28d
commit 0da0df7acc

View File

@ -156,7 +156,7 @@ export default {
], ],
queryCondition: { queryCondition: {
sortProp: '', sortProp: '',
sortOrder: '' sortOrder: 'descending'
}, },
pagination: { pagination: {
pageIndex: 1, pageIndex: 1,
@ -204,7 +204,7 @@ export default {
this.queryCondition.sortOrder = column.order this.queryCondition.sortOrder = column.order
this.getHeartwingsList() this.getHeartwingsList()
}, },
handleClick(tab, event) { handleClick(tab) {
this.$router.push({query: {tab: tab.name}}) this.$router.push({query: {tab: tab.name}})
}, },
preview() { preview() {
@ -237,7 +237,7 @@ export default {
}, },
save() { save() {
this.form.userId = this.$store.state.user.userId this.form.userId = this.$store.state.user.userId
updateSetting(this.form).then((res) => { updateSetting(this.form).then(() => {
this.$message.success("保存成功!") this.$message.success("保存成功!")
}).catch(() => { }).catch(() => {
@ -329,7 +329,7 @@ export default {
} }
.config-itme-label { .config-itme-label {
>>> .el-button { >>> .el-button {
padding: 0px 0px; padding: 0 0;
} }
} }
</style> </style>