fix: 命令记录默认倒序

This commit is contained in:
xinwen
2021-08-19 15:33:11 +08:00
committed by Jiangjie.Bai
parent 1cc395c22d
commit 07151b2bfe

View File

@@ -175,7 +175,7 @@ export default {
this.$message.error(this.$t('sessions.EsDisabled'))
return
}
this.tableConfig.url = `/api/v1/terminal/commands/?command_storage_id=${treeNode.id}`
this.tableConfig.url = `/api/v1/terminal/commands/?command_storage_id=${treeNode.id}&order=-timestamp`
}
}
}