selectImage.vue: 修复多选模式下flatMap错误和数据类型不一致问题#2075
Open
anjiacm wants to merge 1 commit intoflipped-aurora:mainfrom
Open
selectImage.vue: 修复多选模式下flatMap错误和数据类型不一致问题#2075anjiacm wants to merge 1 commit intoflipped-aurora:mainfrom
anjiacm wants to merge 1 commit intoflipped-aurora:mainfrom
Conversation
- 修复chooseImg函数:根据multiple属性正确处理单选/多选模式的数据类型 - 修复openChooseImg函数:确保多选模式下model.value始终为数组 - 添加internalModel计算属性:统一处理不同数据格式(数组、JSON字符串、普通字符串) - 添加draggableModel计算属性:确保vuedraggable组件始终接收数组类型 - 增强deleteImg和useSelectedImages函数:提供更好的数组处理支持 - 添加数据格式监听:动态识别和处理JSON字符串格式 此修复解决了amazonReviewData.vue中编辑图片时出现的"normalizedList.flatMap is not a function"错误 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目录:/web/src/components/selectImage/selectImage.vue
此修复解决了amazonReviewData.vue中编辑图片时出现的"normalizedList.flatMap is not a function"错误