revert: toSet (#941)

This commit is contained in:
My-Responsitories
2025-08-05 21:36:21 +08:00
committed by GitHub
parent 80a4c8c24d
commit 9f33488248
7 changed files with 12 additions and 12 deletions

View File

@@ -40,7 +40,7 @@ class HistorySearchController
title: '提示',
onConfirm: () async {
SmartDialog.showLoading(msg: '请求中');
final removeList = allChecked;
final removeList = allChecked.toSet();
var response = await UserHttp.delHistory(
removeList
.map((item) => '${item.history.business!}_${item.kid!}')