修正提示

This commit is contained in:
lyswhut
2023-09-05 12:58:57 +08:00
parent b612d7915f
commit 77843a98f2

View File

@ -15,7 +15,7 @@ interface RuleInputType {
} }
const RuleInput = forwardRef<RuleInputType, {}>((props, ref) => { const RuleInput = forwardRef<RuleInputType, {}>((props, ref) => {
const theme = useTheme() const theme = useTheme()
const t = useI18n() // const t = useI18n()
const [text, setText] = useState('') const [text, setText] = useState('')
const inputRef = useRef<InputType>(null) const inputRef = useRef<InputType>(null)
const [height, setHeight] = useState(100) const [height, setHeight] = useState(100)
@ -40,7 +40,6 @@ const RuleInput = forwardRef<RuleInputType, {}>((props, ref) => {
<View style={styles.inputContent} onLayout={handleLayout}> <View style={styles.inputContent} onLayout={handleLayout}>
<Input <Input
ref={inputRef} ref={inputRef}
placeholder={t('songlist_open_input_placeholder')}
value={text} value={text}
onChangeText={setText} onChangeText={setText}
multiline multiline