Skip to content

Commit 5cb0070

Browse files
author
wangyue
committed
fix:修复重复init时默认值未置空的问题
Signed-off-by: wangyue <wangyue334@h-partners.com>
1 parent 44e043b commit 5cb0070

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,8 @@ export class GlobalDialog {
328328
defaultValue = content.selectedValue.map(item => {
329329
return item.toString();
330330
})
331+
}else{
332+
defaultValue = ""
331333
}
332334
} catch (error) {
333335
Logger.error(TAG,

0 commit comments

Comments
 (0)