mirror of
https://github.com/Finb/Bark.git
synced 2025-12-08 21:36:01 +00:00
导出数据排序
This commit is contained in:
parent
0ea82dead5
commit
044e390c8f
@ -180,6 +180,7 @@ class MessageSettingsViewModel: ViewModel, ViewModelType {
|
||||
if let realm = try? Realm() {
|
||||
let messages = realm.objects(Message.self)
|
||||
.filter("isDeleted != true")
|
||||
.sorted(byKeyPath: "createDate", ascending: false)
|
||||
|
||||
var arr = [[String: AnyObject]]()
|
||||
for message in messages {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user