mirror of
https://github.com/babalae/bettergi-scripts-list.git
synced 2026-03-31 05:59:51 +08:00
feat(order): 添加父级键值映射功能
- 为订单项生成父级键值 - 将父级键值与订单建立映射关系 - 保留原有键值映射逻辑不变
This commit is contained in:
@@ -793,7 +793,9 @@ async function initRun(config_run) {
|
||||
}]
|
||||
orderList.filter(item => item.uid === Record.uid).forEach(item => {
|
||||
const key = generatedKey(item);
|
||||
const key_parent = generatedKey(item, true);
|
||||
orderMap.set(key, item.order)
|
||||
orderMap.set(key_parent, item.order)
|
||||
})
|
||||
log.info(`{0}加载完成`, json_path_name.PathOrder)
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user