From 193ba69e519d299a089ef53c3c4315c96b780e9b Mon Sep 17 00:00:00 2001 From: qc Date: Thu, 8 Jan 2026 16:19:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=B9=B3=E6=9D=BF=E5=92=8CPC?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B;Signed-off-by:=20qc=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/pages/Index.ets | 3 ++- entry/src/main/module.json5 | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/entry/src/main/ets/pages/Index.ets b/entry/src/main/ets/pages/Index.ets index ffb2e9e..22be757 100644 --- a/entry/src/main/ets/pages/Index.ets +++ b/entry/src/main/ets/pages/Index.ets @@ -159,7 +159,8 @@ struct Index { keyboardAvoidMode: SheetKeyboardAvoidMode.RESIZE_ONLY, onWillDismiss: () => { TodoStore.dispatch(TodoListActions.hideSheet); - } + }, + preferType:SheetType.CENTER }); // [EndExclude todo_list_index] diff --git a/entry/src/main/module.json5 b/entry/src/main/module.json5 index 2832890..8bce946 100644 --- a/entry/src/main/module.json5 +++ b/entry/src/main/module.json5 @@ -5,7 +5,7 @@ "description": "$string:module_desc", "mainElement": "EntryAbility", "deviceTypes": [ - "phone", + "phone","tablet","2in1" ], "deliveryWithInstall": true, "installationFree": false, -- Gitee