fix: collection categories need to be sorted

This commit is contained in:
chenos 2023-02-15 14:22:37 +08:00
parent 83bca97db0
commit d08c7833ee

View File

@ -60,6 +60,7 @@ export default {
foreignKey: 'collectionName',
otherKey: 'categoryId',
targetKey: 'id',
sortBy: 'sort',
through: 'collectionCategory',
},
],