Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize/map view #7275

Merged
merged 9 commits into from
Jan 10, 2025
Merged

Optimize/map view #7275

merged 9 commits into from
Jan 10, 2025

Conversation

Aries-0331
Copy link
Contributor

No description provided.

start: 0,
limit: PER_LOAD_NUMBER,
};
metadataAPI.getMetadata(repoID, params).then(res => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

进入后不需要再次获取全部数据, 根据父组件的数据可以筛选出来

@@ -72,6 +75,8 @@ export const OPERATION_ATTRIBUTES = {
[OPERATION_TYPE.MODIFY_SETTINGS]: ['repo_id', 'view_id', 'settings'],

[OPERATION_TYPE.UPDATE_FILE_TAGS]: ['repo_id', 'file_tags_data'],

[OPERATION_TYPE.DELETE_LOCATION_PHOTOS]: ['repo_id', 'rows_ids', 'deleted_rows'],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

没有必要,可以直接调用deleteRecords 处理

@Aries-0331 Aries-0331 force-pushed the optimize/map_view branch 2 times, most recently from 6ff4153 to a408637 Compare January 4, 2025 12:18
@YangGuoXuan-0503 YangGuoXuan-0503 force-pushed the optimize/map_view branch 2 times, most recently from ffd385e to f6d2c6f Compare January 7, 2025 10:18
@YangGuoXuan-0503 YangGuoXuan-0503 merged commit d06d549 into master Jan 10, 2025
1 check passed
@YangGuoXuan-0503 YangGuoXuan-0503 deleted the optimize/map_view branch January 10, 2025 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants