修复分镜关联资产排序
This commit is contained in:
parent
eed01e0d20
commit
97dfe72278
@ -99,7 +99,8 @@ export default router.post(
|
||||
}),
|
||||
);
|
||||
const storyboardIds = storyboardData.map((i) => i.id);
|
||||
const assetsIds = await u.db("o_assets2Storyboard").whereIn("storyboardId", storyboardIds);
|
||||
const assetsIds = await u.db("o_assets2Storyboard").whereIn("storyboardId", storyboardIds).orderBy("rowid");
|
||||
|
||||
const assets2StoryboardMap: Record<number, number[]> = {};
|
||||
assetsIds.forEach((i) => {
|
||||
if (!assets2StoryboardMap[i.storyboardId!]) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user