BUGFIX:获取all pose的预览地址报错

This commit is contained in:
2025-06-20 12:01:17 +08:00
parent 6b165fe5bc
commit 92278cf91b
2 changed files with 10 additions and 3 deletions

View File

@@ -63,7 +63,9 @@ public enum PoseEnum {
}
public static List<Map<String, String>> getPropertyList() {
return new ArrayList<>(PROPERTY_LIST); // 返回副本以保证不可变性
return PROPERTY_LIST.stream()
.map(HashMap::new) // 深拷贝每个 Map
.collect(Collectors.toList());
}
public static List<String> getVideoList() {