Skip to content

Commit

Permalink
fix: 小程序dialog使用input显示示异常 (#538)
Browse files Browse the repository at this point in the history
  • Loading branch information
Damoness authored Jul 7, 2023
1 parent 96d9c42 commit 6a7cef0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vantui/src/dialog/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { View, Text } from '@tarojs/components'
import { View } from '@tarojs/components'
import { useState, useCallback, useEffect } from 'react'
import { nextTick } from '@tarojs/taro'
import { toPromise } from '../common/utils'
Expand Down Expand Up @@ -211,7 +211,7 @@ export function Dialog(props: DialogProps) {
},
])}
>
<Text className="van-dialog__message-text">{message}</Text>
<View className="van-dialog__message-text">{message}</View>
</View>
)}

Expand Down

0 comments on commit 6a7cef0

Please sign in to comment.