Skip to content

Commit 90cf1c2

Browse files
authored
Merge pull request #11 from ajkshfjkaj/sig
fix: 添加类型定义
2 parents fb9fb5a + dcb141b commit 90cf1c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

harmony/picker/src/main/ets/PickerBaseOperate.ets

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ export class GlobalDialog {
131131
static show() {
132132
try {
133133
GlobalDialog.contentNode =
134-
new ComponentContent(uiContext, wrapBuilder(buildGlobalDialogComponent), new Params(content.selectedValue));
134+
new ComponentContent(uiContext, wrapBuilder(buildGlobalDialogComponent),
135+
new Params(content.selectedValue ?? ''));
135136
const promptAction = uiContext.getPromptAction();
136137
promptAction.openCustomDialog(GlobalDialog.contentNode, {
137138
alignment: DialogAlignment.Bottom,

0 commit comments

Comments
 (0)