Skip to content

Commit 140d960

Browse files
fix: 🐛 修复MessageBox设置为prompt时输入框绑定值异常的问题
1 parent 5ad64fd commit 140d960

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/uni_modules/wot-design-uni/components/wd-message-box/wd-message-box.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ function resetErr(val: boolean) {
267267
showErr.value = false
268268
}
269269
}
270-
function inputValChange(value: string | number) {
270+
function inputValChange({ value }: { value: string | number }) {
271271
if (value === '') {
272272
showErr.value = false
273273
return

0 commit comments

Comments
 (0)