Skip to content

Commit 9a7b642

Browse files
committed
📝 临时提交
1 parent 6446160 commit 9a7b642

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/storage/dao/widget_dao.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ class WidgetDao {
4646
}
4747

4848
Future<List<Map<String, dynamic>>> queryByIds(List<int> ids) async {
49+
if (ids.length == 0) {
50+
return [];
51+
}
4952
final db = await storage.db;
5053

5154
var sql = "SELECT * "

0 commit comments

Comments
 (0)